projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60b62aa
)
silence a huge number of bogus warnings with GCC 4 on Reid's tester.
author
Chris Lattner
<sabre@nondot.org>
Fri, 17 Jun 2005 13:20:15 +0000
(13:20 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 17 Jun 2005 13:20:15 +0000
(13:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22244
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Support/CommandLine.h
patch
|
blob
|
history
diff --git
a/include/llvm/Support/CommandLine.h
b/include/llvm/Support/CommandLine.h
index e99d7bbeafd9b52d6d99bd89510fada1cee00c21..c5e909d8a2663db9083eb7a0d4651ae2b01667cb 100644
(file)
--- a/
include/llvm/Support/CommandLine.h
+++ b/
include/llvm/Support/CommandLine.h
@@
-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);