]> granicus.if.org Git - clang/commitdiff
Fix copy-paste error in test case.
authorTed Kremenek <kremenek@apple.com>
Tue, 16 Sep 2008 23:25:28 +0000 (23:25 +0000)
committerTed Kremenek <kremenek@apple.com>
Tue, 16 Sep 2008 23:25:28 +0000 (23:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56261 91177308-0d34-0410-b5e6-96231b3b80d8

test/Analysis/null-deref-ps.c

index a6819cc48b043af2f9a6c2d92256787f92ec1ac9..fb6b2089f078f68fe7cffabdd4cf65a5b5a02829 100644 (file)
@@ -96,7 +96,7 @@ int f9(int len) {
   int *p = 0;
 
   for (int i = 0; i < len; ++i)
-   p = foo(i);
+   p = qux(i);
 
   return *p++; // no-warning
 }