aboutsummaryrefslogtreecommitdiff
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
commit93d56215df715181dba7f5275de9863f28a6c941 (patch)
treebfea01c982a361dfe8ad972cb291de3d8085a7c2 /gdb/dsrec.c
parent381bab78db8ce8d9a17929364bdc7901ac17e4f0 (diff)
downloadgdb-93d56215df715181dba7f5275de9863f28a6c941.zip
gdb-93d56215df715181dba7f5275de9863f28a6c941.tar.gz
gdb-93d56215df715181dba7f5275de9863f28a6c941.tar.bz2
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 69c156f..669a74a 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))