Wed Sep 8 13:01:10 1993 K. Richard Pixley (rich@cygnus.com)
Gcc lint.
+ * infrun.c (wait_for_inferior): initialize stop_sp, prologue_pc.
+ remove symtab, appears unused.
+ (restore_selected_frame): return 1.
+ * mipsread.c (psymtab_to_symtab_1): initialize first_off.
+ (fixup_sigtramp): initialize b0.
* printcmd.c (do_examine): initialize val_type.
(print_frame_args): initialize b.
* ser-tcp.c (tcp_restore): comment out declaration. Appears
int noerr;
{
int i;
-#if 0
- char *typename;
-#endif
if (TYPE_CODE (type) == TYPE_CODE_PTR ||
TYPE_CODE (type) == TYPE_CODE_REF)
the structure tag name is the same as the member name. I.E. when doing
"ptype bell->bar" for "struct foo { int bar; int foo; } bell;"
Disabled by fnf. */
- typename = type_name_no_tag (type);
- if (typename != NULL && STREQ (typename, name))
- return type;
+ {
+ char *typename;
+
+ typename = type_name_no_tag (type);
+ if (typename != NULL && STREQ (typename, name))
+ return type;
+ }
#endif
for (i = TYPE_NFIELDS (type) - 1; i >= TYPE_N_BASECLASSES (type); i--)
char *pdr_ptr;
char *pdr_end;
int first_pdr;
- unsigned long first_off;
+ unsigned long first_off = 0;
/* This symbol table contains stabs-in-ecoff entries. */
{
struct symbol *s;
struct symtab *st;
- struct block *b, *b0;
+ struct block *b, *b0 = NULL;
sigtramp_address = -1;