]> granicus.if.org Git - clang/commitdiff
Prep for new warning.
authorMike Stump <mrs@apple.com>
Wed, 22 Jul 2009 22:55:09 +0000 (22:55 +0000)
committerMike Stump <mrs@apple.com>
Wed, 22 Jul 2009 22:55:09 +0000 (22:55 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@76813 91177308-0d34-0410-b5e6-96231b3b80d8

test/Analysis/null-deref-ps.c

index f2994f55da6a7a9c76d60ab9f87df828f9252001..52ed8cd5c4684b01e1e3572d39532db28f1ac14c 100644 (file)
@@ -105,7 +105,7 @@ int f6c(int *p, int *q) {
              : bar3(p, 2, q); // no-warning
 }
 
-int f6d(int *p) {
+void f6d(int *p) {
   bar(p, 0);
   // At this point, 'p' cannot be null.
   if (!p) {