Fix false GCC warning.
* infcall.c (find_function_addr): Initialize funaddr.
+2011-03-29 Andreas Tobler <andreast-list@fgznet.ch>
+
+ Fix false GCC warning.
+ * infcall.c (find_function_addr): Initialize funaddr.
+
2011-03-29 Pierre Muller <muller@ics.u-strasbg.fr>
Fix mingw compilation with --enable-targets=all.
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. */