lib/Object: Suppress warnings on gcc-4.3.4 cygwin

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141485 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
NAKAMURA Takumi
2011-10-08 11:22:53 +00:00
parent 017449d64b
commit 48f248ad5f
2 changed files with 2 additions and 2 deletions

View File

@@ -640,7 +640,7 @@ error_code COFFObjectFile::getRelocationAdditionalInfo(DataRefImpl Rel,
error_code COFFObjectFile::getRelocationValueString(DataRefImpl Rel,
SmallVectorImpl<char> &Result) const {
const coff_relocation *reloc = toRel(Rel);
const coff_symbol *symb;
const coff_symbol *symb = 0;
if (error_code ec = getSymbol(reloc->SymbolTableIndex, symb)) return ec;
DataRefImpl sym;
::memset(&sym, 0, sizeof(sym));