Chromium Code Reviews| Index: tools/clang/rewrite_scoped_refptr/tests/test11-original.cc |
| diff --git a/tools/clang/rewrite_scoped_refptr/tests/test11-original.cc b/tools/clang/rewrite_scoped_refptr/tests/test11-original.cc |
| index 48cf41b2799c3b7202d1d62ca4d4fc3e45024b35..c79148bfbfbf96edbe044418f42a4b568e38eb11 100644 |
| --- a/tools/clang/rewrite_scoped_refptr/tests/test11-original.cc |
| +++ b/tools/clang/rewrite_scoped_refptr/tests/test11-original.cc |
| @@ -17,6 +17,8 @@ void TestsAScopedRefptr() { |
| list.push_back(new Foo); |
| list.push_back(new Foo); |
| for (FooList::const_iterator it = list.begin(); it != list.end(); ++it) { |
| + if (!*it) |
| + continue; |
| Foo* item = *it; |
| } |
| } |