summaryrefslogtreecommitdiffstats
path: root/llvm/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
commita230552b94b9df0b98d504f9c90491e9ddd5eccc (patch)
treef4f16ef90b579c732010580ce52c02f8382a7605 /llvm/lib/Support/CommandLine.cpp
parentab7087ad66e6bb994dd17c644bad7641f492c9cf (diff)
downloadbcm5719-llvm-a230552b94b9df0b98d504f9c90491e9ddd5eccc.tar.gz
bcm5719-llvm-a230552b94b9df0b98d504f9c90491e9ddd5eccc.zip
Suppress use of uninitialized variable warning.
llvm-svn: 93046
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
-rw-r--r--llvm/lib/Support/CommandLine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/CommandLine.cpp b/llvm/lib/Support/CommandLine.cpp
index 75b02d33171..fa692be8cc2 100644
--- a/llvm/lib/Support/CommandLine.cpp
+++ b/llvm/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);
OpenPOWER on IntegriCloud