From ddc6b664e4caa86bcccbc2ddfe6ad0d4768372bc Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Fri, 29 Jan 2010 15:58:21 +0000 Subject: [PATCH] Fix typo found by clang++. Yay for -Wuninitialized. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94810 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/Analysis/Analyses/PrintfFormatString.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/clang/Analysis/Analyses/PrintfFormatString.h b/include/clang/Analysis/Analyses/PrintfFormatString.h index e8b2d49502..a70bd9b32d 100644 --- a/include/clang/Analysis/Analyses/PrintfFormatString.h +++ b/include/clang/Analysis/Analyses/PrintfFormatString.h @@ -116,7 +116,7 @@ public: : 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; } -- 2.40.0