* 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".
Lint.
This commit is contained in:
Jeff Law 1997-02-10 23:15:37 +00:00
parent 66e7ce0add
commit efaf2b5892
2 changed files with 15 additions and 1 deletions

View 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.

View 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, ' ');