* gdbtypes.c (safe_parse_type): Initialize type to keep gcc happy.

* varobj.c (varobj_set_value): Initialize val,value to keep gcc happy.
This commit is contained in:
Doug Evans
2012-01-09 22:31:39 +00:00
parent 696166a376
commit 3436505436
3 changed files with 8 additions and 4 deletions

View File

@ -1674,7 +1674,7 @@ static struct type *
safe_parse_type (struct gdbarch *gdbarch, char *p, int length)
{
struct ui_file *saved_gdb_stderr;
struct type *type;
struct type *type = NULL; /* Initialize to keep gcc happy. */
volatile struct gdb_exception except;
/* Suppress error messages. */