mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
silence a huge number of bogus warnings with GCC 4 on Reid's tester.
llvm-svn: 22244
This commit is contained in:
parent
2114488760
commit
96e6d65c22
@ -734,7 +734,8 @@ class opt : public Option,
|
||||
|
||||
virtual bool handleOccurrence(unsigned pos, const char *ArgName,
|
||||
const std::string &Arg) {
|
||||
typename ParserClass::parser_data_type Val;
|
||||
typename ParserClass::parser_data_type Val =
|
||||
typename ParserClass::parser_data_type();
|
||||
if (Parser.parse(*this, ArgName, Arg, Val))
|
||||
return true; // Parse error!
|
||||
setValue(Val);
|
||||
|
Loading…
Reference in New Issue
Block a user