diff options
author | Stan Shebs <shebs@codesourcery.com> | 1996-04-05 03:07:54 +0000 |
---|---|---|
committer | Stan Shebs <shebs@codesourcery.com> | 1996-04-05 03:07:54 +0000 |
commit | 67c1413d7f56cc04f7dba8b64cac364cbfa11e42 (patch) | |
tree | e62252e64fd4bdd0bec53ad18e1b553066bc1e3b /gdb/symfile.c | |
parent | 3e3ee48f73f4aabe646bfaf828705bb0a961c75b (diff) | |
download | gdb-67c1413d7f56cc04f7dba8b64cac364cbfa11e42.zip gdb-67c1413d7f56cc04f7dba8b64cac364cbfa11e42.tar.gz gdb-67c1413d7f56cc04f7dba8b64cac364cbfa11e42.tar.bz2 |
* symfile.c (generic_load): Initialize data_count properly.
Diffstat (limited to 'gdb/symfile.c')
-rw-r--r-- | gdb/symfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/symfile.c b/gdb/symfile.c index f5d4e15..e95d1db 100644 --- a/gdb/symfile.c +++ b/gdb/symfile.c @@ -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) |