aboutsummaryrefslogtreecommitdiff
path: root/gdb/exec.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-03-22 23:58:37 +0000
committerAndrew Cagney <cagney@redhat.com>2001-03-22 23:58:37 +0000
commit886655446608bea8e4cf8a93bf77df06dc087312 (patch)
tree3096b2299578cc4069ccd7d19e1b0b285aa75df8 /gdb/exec.c
parent7389ff65de42693e0c69b18567377a3a9996bf6e (diff)
downloadfsf-binutils-gdb-886655446608bea8e4cf8a93bf77df06dc087312.zip
fsf-binutils-gdb-886655446608bea8e4cf8a93bf77df06dc087312.tar.gz
fsf-binutils-gdb-886655446608bea8e4cf8a93bf77df06dc087312.tar.bz2
-Wuninitialized fixes.
Diffstat (limited to 'gdb/exec.c')
-rw-r--r--gdb/exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/exec.c b/gdb/exec.c
index c2b97e4..511977f 100644
--- a/gdb/exec.c
+++ b/gdb/exec.c
@@ -486,7 +486,7 @@ xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int write,
struct section_table *p;
CORE_ADDR nextsectaddr, memend;
boolean (*xfer_fn) (bfd *, sec_ptr, PTR, file_ptr, bfd_size_type);
- asection *section;
+ asection *section = NULL;
if (len <= 0)
internal_error (__FILE__, __LINE__, "failed internal consistency check");