-Wuninitialized fixes.

This commit is contained in:
Andrew Cagney
2001-03-22 23:58:37 +00:00
parent 7389ff65de
commit 8866554466
3 changed files with 7 additions and 1 deletions

View File

@@ -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");