diff options
Diffstat (limited to 'gdb/buildsym.c')
-rw-r--r-- | gdb/buildsym.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/buildsym.c b/gdb/buildsym.c index 6e5c52b..90cbbe4 100644 --- a/gdb/buildsym.c +++ b/gdb/buildsym.c @@ -189,7 +189,9 @@ finish_block (symbol, listhead, old_blocks, start, end, objfile) /* Count the length of the list of symbols. */ - for (next = *listhead, i = 0; next; i += next->nsyms, next = next->next) + for (next = *listhead, i = 0; + next; + i += next->nsyms, next = next->next) { /*EMPTY*/; } |