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

test/Analysis/uninit-vals.c

index d69250b65c0bb7f3e8bf7af47cdb837b2b90b90a..8428ca4f81cd5860625c82989c4b9a491ffc0ca8 100644 (file)
@@ -23,7 +23,7 @@ int f4(int x) {
   return y; // expected-warning {{use of uninitialized variable}}
 }
 
-int f5() {
+void f5() {
   int a;
   a = 30; // no-warning
 }