diff options
author | Maciej W. Rozycki <macro@imgtec.com> | 2017-02-07 02:06:20 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@imgtec.com> | 2017-02-15 13:40:08 +0000 |
commit | befe814dd9ac6489c84ecd5c839b3b48aca95280 (patch) | |
tree | ef84805d7a96bf85d80c52ab342133d3bf15b28c /ld/ldmisc.c | |
parent | b58a8c0c83d58c8f4be67dc1d7a1d9a5e1edba82 (diff) | |
download | gdb-befe814dd9ac6489c84ecd5c839b3b48aca95280.zip gdb-befe814dd9ac6489c84ecd5c839b3b48aca95280.tar.gz gdb-befe814dd9ac6489c84ecd5c839b3b48aca95280.tar.bz2 |
LD: vfinfo: Remove static NULL initializers
Remove static NULL initializers, moving the respective variables from
data to BSS and saving some storage space.
ld/
* ldmisc.c (vfinfo) <'H'>: Remove static NULL initializers.
Diffstat (limited to 'ld/ldmisc.c')
-rw-r--r-- | ld/ldmisc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/ldmisc.c b/ld/ldmisc.c index 904a23d..b50637d 100644 --- a/ld/ldmisc.c +++ b/ld/ldmisc.c @@ -280,8 +280,8 @@ vfinfo (FILE *fp, const char *fmt, va_list arg, bfd_boolean is_warning) The arguments are a BFD, a section, and an offset. */ { static bfd *last_bfd; - static char *last_file = NULL; - static char *last_function = NULL; + static char *last_file; + static char *last_function; bfd *abfd; asection *section; bfd_vma offset; |