diff options
author | Alan Modra <amodra@gmail.com> | 2023-09-19 09:50:57 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2023-09-20 08:23:48 +0930 |
commit | 765a0c0a86c7bd32d7ad7af06d22dda41f6a9172 (patch) | |
tree | 3fe5518a31c386740290b59cece5131fe0bcb33b /binutils/readelf.c | |
parent | a1d1634d0012ddeecc59bb0e6012d4455edae6e8 (diff) | |
download | gdb-765a0c0a86c7bd32d7ad7af06d22dda41f6a9172.zip gdb-765a0c0a86c7bd32d7ad7af06d22dda41f6a9172.tar.gz gdb-765a0c0a86c7bd32d7ad7af06d22dda41f6a9172.tar.bz2 |
readelf.c 'ext' may be used uninitialized
* readelf.c (display_lto_symtab): Init ext.
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r-- | binutils/readelf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/readelf.c b/binutils/readelf.c index 5c69efc..e9935c0 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -13853,7 +13853,7 @@ display_lto_symtab (Filedata * filedata, return false; /* Look for extended data for the symbol table. */ - Elf_Internal_Shdr * ext; + Elf_Internal_Shdr * ext = NULL; void * ext_data_orig = NULL; char * ext_data = NULL; char * ext_data_end = NULL; |