1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

silence a huge number of bogus warnings with GCC 4 on Reid's tester.

llvm-svn: 22244
This commit is contained in:
Chris Lattner 2005-06-17 13:20:15 +00:00
parent 2114488760
commit 96e6d65c22

View File

@ -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);