summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2013-03-01 09:46:03 +0000
committerDuncan Sands <baldrick@free.fr>2013-03-01 09:46:03 +0000
commit2cb41d372cfbadc07a080b11c7f16fdfc8431e2f (patch)
treedfd7ed5459d87ef8e0dd517bcc25585b87ef0528 /llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
parentf5d8c90f57f7cca81fd35bb961c7f4df6370a344 (diff)
downloadbcm5719-llvm-2cb41d372cfbadc07a080b11c7f16fdfc8431e2f.tar.gz
bcm5719-llvm-2cb41d372cfbadc07a080b11c7f16fdfc8431e2f.zip
GCC thinks that this variable might be used uninitialized (it isn't).
llvm-svn: 176341
Diffstat (limited to 'llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp')
-rw-r--r--llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp b/llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
index b2c6d55026d..ee5c2b2bfdc 100644
--- a/llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
+++ b/llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
@@ -2080,7 +2080,7 @@ MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
// Check for the various suffix matches.
Tmp[Base.size()] = Suffixes[0];
unsigned ErrorInfoIgnore;
- unsigned ErrorInfoMissingFeature;
+ unsigned ErrorInfoMissingFeature = 0; // Init suppresses compiler warnings.
unsigned Match1, Match2, Match3, Match4;
Match1 = MatchInstructionImpl(Operands, Inst, ErrorInfoIgnore,
OpenPOWER on IntegriCloud