Clean up compiler warnings:
authorJim Kingdon <jkingdon@engr.sgi.com>
Tue, 8 Feb 2000 04:39:02 +0000 (04:39 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Tue, 8 Feb 2000 04:39:02 +0000 (04:39 +0000)
commit745b8ca0fc4d987837a24d1ed5f53006478d2716
treed6471c55e430ad890aabc21f06dc169bfd5cba58
parent1171f8d754f71e35fd2f6c4e82b00f3c685e515f
Clean up compiler warnings:
* bcache.h, bcache.c, c-valprint.c, coffread.c, stabsread.c,
stack.c, valprint.c: Change variables to unsigned.
* bcache.c: Rearrange to avoid warnings about variables not being set.
* c-lang.c, ch-lang.c, f-lang.c, m2-lang.c: Include valprint.h
rather than declaring print_max and repeat_count_threashold
ourselves (incorrectly).
* valprint.h: Do declare repeat_count_threashold.
* ch-exp.c: Use default case for internal error.
* findvar.c: Don't omit argument type.
* symtab.c: Remove unused variable.
16 files changed:
gdb/ChangeLog
gdb/bcache.c
gdb/bcache.h
gdb/c-lang.c
gdb/c-valprint.c
gdb/ch-exp.c
gdb/ch-lang.c
gdb/coffread.c
gdb/f-lang.c
gdb/findvar.c
gdb/m2-lang.c
gdb/stabsread.c
gdb/stack.c
gdb/symtab.c
gdb/valprint.c
gdb/valprint.h