From: Duncan Sands Date: Sat, 9 Jan 2010 08:30:33 +0000 (+0000) Subject: Suppress use of uninitialized variable warning. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=1fa8b00b30e3e9ea3ea86ccb819bb9eb11117e6d;p=oota-llvm.git Suppress use of uninitialized variable warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93046 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Support/CommandLine.cpp b/lib/Support/CommandLine.cpp index 75b02d33171..fa692be8cc2 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);