Oops, initialize sections and sections_end to NULL.

Submitted by:	Navdeep Parhar
MFC after:	1 week
This commit is contained in:
John Baldwin 2008-10-02 20:42:10 +00:00
parent 06aaad6aaa
commit 27f38446be

View File

@ -201,7 +201,7 @@ static void
load_kld (char *path, CORE_ADDR base_addr, int from_tty)
{
struct section_addr_info *sap;
struct section_table *sections, *sections_end, *s;
struct section_table *sections = NULL, *sections_end = NULL, *s;
struct cleanup *cleanup;
bfd *bfd;
int i;