summaryrefslogtreecommitdiff
path: root/gdb/dsrec.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-03-28 21:42:32 +0000
committerAndrew Cagney <cagney@redhat.com>2001-03-28 21:42:32 +0000
commitf471e80ba5f92f4251d2609b86e351ccb98e27bc (patch)
tree3f76a9f57e647c4d97350a3f70560944f511e210 /gdb/dsrec.c
parent76cbd54ce4ce2683b451f5a8027974d60cc220f0 (diff)
downloadgdb-f471e80ba5f92f4251d2609b86e351ccb98e27bc.tar.gz
Gag -Wuninitialized warnings.
Add -Wuninitialized to default warning list.
Diffstat (limited to 'gdb/dsrec.c')
-rw-r--r--gdb/dsrec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/dsrec.c b/gdb/dsrec.c
index 69c156fca30..669a74a664d 100644
--- a/gdb/dsrec.c
+++ b/gdb/dsrec.c
@@ -242,6 +242,7 @@ make_srec (char *srec, CORE_ADDR targ_addr, bfd *abfd, asection *sect,
{
tmp = flags >> SREC_TERM_SHIFT; /* Term record */
code_table = term_code_table;
+ binbuf = NULL;
}
if ((tmp & SREC_2_BYTE_ADDR) && (targ_addr <= 0xffff))