summaryrefslogtreecommitdiff
path: root/lib/Support/CommandLine.cpp
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2010-01-09 08:30:33 +0000
committerDuncan Sands <baldrick@free.fr>2010-01-09 08:30:33 +0000
commit1fa8b00b30e3e9ea3ea86ccb819bb9eb11117e6d (patch)
tree14c9bcb33246e999b7cb9b21df63d3e12f64f165 /lib/Support/CommandLine.cpp
parentc2d1b6949c5141d21827cc94daea6ae4b1a9c750 (diff)
downloadllvm-1fa8b00b30e3e9ea3ea86ccb819bb9eb11117e6d.tar.gz
llvm-1fa8b00b30e3e9ea3ea86ccb819bb9eb11117e6d.tar.bz2
llvm-1fa8b00b30e3e9ea3ea86ccb819bb9eb11117e6d.tar.xz
Suppress use of uninitialized variable warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93046 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/CommandLine.cpp')
-rw-r--r--lib/Support/CommandLine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Support/CommandLine.cpp b/lib/Support/CommandLine.cpp
index 75b02d3317..fa692be8cc 100644
--- a/lib/Support/CommandLine.cpp
+++ b/lib/Support/CommandLine.cpp
@@ -354,7 +354,7 @@ static Option *HandlePrefixedOrGroupedOption(StringRef &Arg, StringRef &Value,
// we don't need to pass argc/argv in.
assert(PGOpt->getValueExpectedFlag() != cl::ValueRequired &&
"Option can not be cl::Grouping AND cl::ValueRequired!");
- int Dummy;
+ int Dummy = 0;
ErrorParsing |= ProvideOption(PGOpt, OneArgName,
StringRef(), 0, 0, Dummy);