aboutsummaryrefslogtreecommitdiff
path: root/gdb/sh-tdep.c
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2003-10-03 08:13:37 +0000
committerCorinna Vinschen <corinna@vinschen.de>2003-10-03 08:13:37 +0000
commit8748518b95a4543d98477eec5a85fa9a037de209 (patch)
tree9bc548442e362112cd8a9774226767862b21b160 /gdb/sh-tdep.c
parent0fd8504376c457ec76beea2c3769bea717c1748f (diff)
downloadgdb-8748518b95a4543d98477eec5a85fa9a037de209.zip
gdb-8748518b95a4543d98477eec5a85fa9a037de209.tar.gz
gdb-8748518b95a4543d98477eec5a85fa9a037de209.tar.bz2
* sh-tdep.c (sh_push_dummy_call_fpu): Initialize flt_argreg and
reg_size to keep GCC silent.
Diffstat (limited to 'gdb/sh-tdep.c')
-rw-r--r--gdb/sh-tdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/sh-tdep.c b/gdb/sh-tdep.c
index 60fe4b6..9d50fbd 100644
--- a/gdb/sh-tdep.c
+++ b/gdb/sh-tdep.c
@@ -743,12 +743,12 @@ sh_push_dummy_call_fpu (struct gdbarch *gdbarch,
{
int stack_offset = 0;
int argreg = ARG0_REGNUM;
- int flt_argreg;
+ int flt_argreg = 0;
int argnum;
struct type *type;
CORE_ADDR regval;
char *val;
- int len, reg_size;
+ int len, reg_size = 0;
int pass_on_stack;
/* first force sp to a 4-byte alignment */