diff options
author | Nick Clifton <nickc@redhat.com> | 2022-05-19 15:05:12 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2022-05-19 15:05:12 +0100 |
commit | 95086e1e54a726a0d7671d70640bc76e4fddf198 (patch) | |
tree | 8e8283dde5b40f111b4f6b834ddd304821c8f22d /binutils/srconv.c | |
parent | 18bd4744611b97e9fca41f97b871eea7bd66bd3e (diff) | |
download | binutils-gdb-95086e1e54a726a0d7671d70640bc76e4fddf198.tar.gz |
Fix potentially uninitialised variables in the Windows tools
Diffstat (limited to 'binutils/srconv.c')
-rw-r--r-- | binutils/srconv.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/binutils/srconv.c b/binutils/srconv.c index c77db99a9e7..6fc98bc49d5 100644 --- a/binutils/srconv.c +++ b/binutils/srconv.c @@ -316,6 +316,7 @@ wr_hd (struct coff_ofile *p) struct IT_hd hd; hd.spare1 = 0; + hd.spare2 = 0; if (bfd_get_file_flags (abfd) & EXEC_P) hd.mt = MTYPE_ABS_LM; else |