aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2010-01-29 15:58:21 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2010-01-29 15:58:21 +0000
commitddc6b664e4caa86bcccbc2ddfe6ad0d4768372bc (patch)
tree36e86daff42d96ab5627d1f27d8b1b6da1f09c45
parente89d1d5be4ea35d9aef21218edf36c4eba1db56e (diff)
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
-rw-r--r--include/clang/Analysis/Analyses/PrintfFormatString.h2
1 files changed, 1 insertions, 1 deletions
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; }