* sh-tdep.c (sh_push_dummy_call_fpu): Initialize flt_argreg and
authorCorinna Vinschen <corinna@vinschen.de>
Fri, 3 Oct 2003 08:13:37 +0000 (08:13 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Fri, 3 Oct 2003 08:13:37 +0000 (08:13 +0000)
reg_size to keep GCC silent.

gdb/ChangeLog
gdb/sh-tdep.c

index 2c502361830122a9596ef263933e655cfe58da9d..7dfa1b10ceefe4768dd2b3ddccdf6337f4cc4a55 100644 (file)
@@ -1,3 +1,8 @@
+2003-10-03  Corinna Vinschen  <vinschen@redhat.com>
+
+       * sh-tdep.c (sh_push_dummy_call_fpu): Initialize flt_argreg and
+       reg_size to keep GCC silent.
+
 2003-10-03  Corinna Vinschen  <vinschen@redhat.com>
 
        * dwarf2-frame.c (struct comp_unit): Add tbase member to store
index 60fe4b611ca4db8f7bcfc2ef734720569c44d587..9d50fbde8ec60b1cf3ebf3e7cb5f940f64a72439 100644 (file)
@@ -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 */