* symfile.c (generic_load): Initialize data_count properly.
This commit is contained in:
parent
3e3ee48f73
commit
67c1413d7f
2 changed files with 5 additions and 1 deletions
|
@ -919,7 +919,7 @@ generic_load (filename, from_tty)
|
|||
asection *s;
|
||||
bfd *loadfile_bfd;
|
||||
time_t start_time, end_time; /* Start and end times of download */
|
||||
unsigned long data_count; /* Number of bytes transferred to memory */
|
||||
unsigned long data_count = 0; /* Number of bytes transferred to memory */
|
||||
|
||||
loadfile_bfd = bfd_openr (filename, gnutarget);
|
||||
if (loadfile_bfd == NULL)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue