mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 01:28:46 +00:00
* stack.c (return_command): Work around uninitialized variable
warning.
This commit is contained in:
@@ -2278,7 +2278,8 @@ down_command (char *count_exp, int from_tty)
|
||||
void
|
||||
return_command (char *retval_exp, int from_tty)
|
||||
{
|
||||
enum return_value_convention rv_conv;
|
||||
/* Initialize it just to avoid a GCC false warning. */
|
||||
enum return_value_convention rv_conv = RETURN_VALUE_STRUCT_CONVENTION;
|
||||
struct frame_info *thisframe;
|
||||
struct gdbarch *gdbarch;
|
||||
struct symbol *thisfun;
|
||||
|
||||
Reference in New Issue
Block a user