* blockframe.c (generic_get_saved_regs): Remove unused variable
authorJeff Law <law@redhat.com>
Mon, 10 Feb 1997 23:15:37 +0000 (23:15 +0000)
committerJeff Law <law@redhat.com>
Mon, 10 Feb 1997 23:15:37 +0000 (23:15 +0000)
        "addr".
        * breakpoint.c (frame_in_dummy): Move struct breakpoint *b decl
        inside #ifdef CALL_DUMMY.
        (watch_command_1): Initialize target_resources_ok.
        * command.c (do_setshow_command): Provide dummy initialization
        for "match".
        * valops.c (find_function_addr): Move function & prototype inside
        #ifdef CALL_DUMMY.
        (value_arg_coerce): Similarly.
        (value_of_variable): Provide dummy initialization of "frame".
Lint.

gdb/ChangeLog
gdb/command.c

index 471c8ce822701c4a8d326c26ed801cde7eb1bef2..9821f215418cad57353723867280dabb0545390c 100644 (file)
@@ -1,3 +1,17 @@
+Mon Feb 10 16:11:57 1997  Jeffrey A Law  (law@cygnus.com)
+
+       * blockframe.c (generic_get_saved_regs): Remove unused variable
+       "addr".
+       * breakpoint.c (frame_in_dummy): Move struct breakpoint *b decl
+       inside #ifdef CALL_DUMMY.
+       (watch_command_1): Initialize target_resources_ok.
+       * command.c (do_setshow_command): Provide dummy initialization
+       for "match".
+       * valops.c (find_function_addr): Move function & prototype inside
+       #ifdef CALL_DUMMY.
+       (value_arg_coerce): Similarly.
+       (value_of_variable): Provide dummy initialization of "frame".
+
 Mon Feb 10 13:50:53 1997  Stu Grossman  (grossman@critters.cygnus.com)
 
        * gdbtk.c (call_wrapper):  Clear running_now if an error occurs.
index 9afbf82e59a5920c5b20c60f3f37a58f1e2563cf..ee8d7120dd8a85d31abfc243900bec9ef4121866 100644 (file)
@@ -1230,7 +1230,7 @@ do_setshow_command (arg, from_tty, c)
            int i;
            int len;
            int nmatches;
-           char *match;
+           char *match = NULL;
            char *p;
 
            p = strchr (arg, ' ');