2009-07-15 Kai Tietz <kai.tietz@onevision.com>
* listing.c (print_source): Initialize cache by NULL.
This commit is contained in:
parent
74a4e4306a
commit
3726e6c57f
@ -1,3 +1,7 @@
|
|||||||
|
2009-07-15 Kai Tietz <kai.tietz@onevision.com>
|
||||||
|
|
||||||
|
* listing.c (print_source): Initialize cache by NULL.
|
||||||
|
|
||||||
2009-07-15 Daniel Gutson <dgutson@codesourcery.com>
|
2009-07-15 Daniel Gutson <dgutson@codesourcery.com>
|
||||||
|
|
||||||
* doc/c-arm.texi (mauto-it): Removed old option.
|
* doc/c-arm.texi (mauto-it): Removed old option.
|
||||||
|
@ -983,7 +983,7 @@ print_source (file_info_type * current_file,
|
|||||||
#define NUM_CACHE_LINES 3
|
#define NUM_CACHE_LINES 3
|
||||||
static cached_line cached_lines[NUM_CACHE_LINES];
|
static cached_line cached_lines[NUM_CACHE_LINES];
|
||||||
static int next_free_line = 0;
|
static int next_free_line = 0;
|
||||||
cached_line * cache;
|
cached_line * cache = NULL;
|
||||||
|
|
||||||
if (current_file->linenum > list->hll_line
|
if (current_file->linenum > list->hll_line
|
||||||
&& list->hll_line > 0)
|
&& list->hll_line > 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user