summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang/include/clang/Analysis/Analyses/PrintfFormatString.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/include/clang/Analysis/Analyses/PrintfFormatString.h b/clang/include/clang/Analysis/Analyses/PrintfFormatString.h
index e8b2d49502f..a70bd9b32de 100644
--- a/clang/include/clang/Analysis/Analyses/PrintfFormatString.h
+++ b/clang/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; }
OpenPOWER on IntegriCloud