diff options
Diffstat (limited to 'gdb/gdbtk.c')
-rw-r--r-- | gdb/gdbtk.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/gdbtk.c b/gdb/gdbtk.c index 72b711b..f82759c 100644 --- a/gdb/gdbtk.c +++ b/gdb/gdbtk.c @@ -127,8 +127,6 @@ static int running_now; static int disassemble_from_exec = -1; -static char *Gdbtk_Library; - /* Supply malloc calls for tcl/tk. */ char * @@ -1437,7 +1435,7 @@ gdbtk_init () } } } - while (lib = strtok (NULL, ":")); + while ((lib = strtok (NULL, ":")) != NULL); if (!found_main) { |