PR breakpoint/12803
[deliverable/binutils-gdb.git] / gdb / infcall.c
index ca23704a7141839b21a874ba57c446f270b4dc89..3f9c8713cf2a2ebf771c230be4ed9a5fb6e0509b 100644 (file)
@@ -252,7 +252,8 @@ find_function_addr (struct value *function, struct type **retval_type)
   struct type *ftype = check_typedef (value_type (function));
   struct gdbarch *gdbarch = get_type_arch (ftype);
   struct type *value_type = NULL;
-  CORE_ADDR funaddr;
+  /* Initialize it just to avoid a GCC false warning.  */
+  CORE_ADDR funaddr = 0;
 
   /* If it's a member function, just look at the function
      part of it.  */
This page took 0.02379 seconds and 4 git commands to generate.