diff options
author | Ian Lance Taylor <iant@google.com> | 2007-11-09 23:56:32 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2007-11-09 23:56:32 +0000 |
commit | aed38d06944d1966c9f76e14bb1bc11f4c65263c (patch) | |
tree | 581657c32d0bd080c8f0972b43ca95d473d509d7 /gold/object.cc | |
parent | bbc1a78472cfdce40f23258372411fd3b30bb114 (diff) | |
download | gdb-aed38d06944d1966c9f76e14bb1bc11f4c65263c.zip gdb-aed38d06944d1966c9f76e14bb1bc11f4c65263c.tar.gz gdb-aed38d06944d1966c9f76e14bb1bc11f4c65263c.tar.bz2 |
From Craig Silverstein: Initialize got_relocs.
Diffstat (limited to 'gold/object.cc')
-rw-r--r-- | gold/object.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/object.cc b/gold/object.cc index 44ebcaa..0f655c6 100644 --- a/gold/object.cc +++ b/gold/object.cc @@ -1107,7 +1107,7 @@ Relocate_info<size, big_endian>::location(size_t, off_t offset) const // Find the relocation section for ".debug_line". Track_relocs<size, big_endian> track_relocs; - bool got_relocs; + bool got_relocs = false; for (unsigned int reloc_shndx = 0; reloc_shndx < this->object->shnum(); ++reloc_shndx) |