mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-26 19:44:11 +08:00
bfd/pdb: fix -Wmaybe-uninitialized warning
Initialize stream0_start to fix spurious -Wmaybe-uninitialized warning on some versions of gcc.
This commit is contained in:
parent
8a72d8924a
commit
897a57a126
@ -718,7 +718,7 @@ pdb_write_contents (bfd *abfd)
|
||||
uint32_t num_blocks;
|
||||
uint32_t num_files = 0;
|
||||
uint32_t num_directory_bytes = sizeof (uint32_t);
|
||||
uint32_t stream0_start;
|
||||
uint32_t stream0_start = 0;
|
||||
bfd *arelt;
|
||||
|
||||
if (bfd_write (pdb_magic, sizeof (pdb_magic), abfd) != sizeof (pdb_magic))
|
||||
|
Loading…
Reference in New Issue
Block a user