From: H.J. Lu Date: Thu, 16 Jul 2009 00:37:28 +0000 (+0000) Subject: 2009-07-15 Kai Tietz X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3726e6c57f4e006f2744ab5b866ef98f2a79747d;p=binutils-gdb.git 2009-07-15 Kai Tietz * listing.c (print_source): Initialize cache by NULL. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 99a6350bba0..97c08e584f8 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2009-07-15 Kai Tietz + + * listing.c (print_source): Initialize cache by NULL. + 2009-07-15 Daniel Gutson * doc/c-arm.texi (mauto-it): Removed old option. diff --git a/gas/listing.c b/gas/listing.c index 3af70d7be49..aafc5453e7d 100644 --- a/gas/listing.c +++ b/gas/listing.c @@ -983,7 +983,7 @@ print_source (file_info_type * current_file, #define NUM_CACHE_LINES 3 static cached_line cached_lines[NUM_CACHE_LINES]; static int next_free_line = 0; - cached_line * cache; + cached_line * cache = NULL; if (current_file->linenum > list->hll_line && list->hll_line > 0)