[cfe-commits] r94810 - /cfe/trunk/include/clang/Analysis/Analyses/PrintfFormatString.h

Benjamin Kramer benny.kra at googlemail.com
Fri Jan 29 07:58:22 PST 2010


Author: d0k
Date: Fri Jan 29 09:58:21 2010
New Revision: 94810

URL: http://llvm.org/viewvc/llvm-project?rev=94810&view=rev
Log:
Fix typo found by clang++. Yay for -Wuninitialized.

Modified:
    cfe/trunk/include/clang/Analysis/Analyses/PrintfFormatString.h

Modified: cfe/trunk/include/clang/Analysis/Analyses/PrintfFormatString.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Analysis/Analyses/PrintfFormatString.h?rev=94810&r1=94809&r2=94810&view=diff

==============================================================================
--- cfe/trunk/include/clang/Analysis/Analyses/PrintfFormatString.h (original)
+++ cfe/trunk/include/clang/Analysis/Analyses/PrintfFormatString.h Fri Jan 29 09:58:21 2010
@@ -116,7 +116,7 @@
     : start(0), hs(NotSpecified), amt(0) {}
   
   OptionalAmount(unsigned i, const char *st) 
-    : start(start), hs(Constant), amt(i) {}
+    : start(st), hs(Constant), amt(i) {}
 
   HowSpecified getHowSpecified() const { return hs; }
   bool hasDataArgument() const { return hs == Arg; }





More information about the cfe-commits mailing list