aboutsummaryrefslogtreecommitdiff
path: root/src/gdbmload.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gdbmload.c')
-rw-r--r--src/gdbmload.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gdbmload.c b/src/gdbmload.c
index 008bcb9..f5b7869 100644
--- a/src/gdbmload.c
+++ b/src/gdbmload.c
@@ -539,12 +539,13 @@ gdbm_load_bdb_dump (struct dump_file *file, GDBM_FILE dbf, int replace)
if (read_bdb_header (file))
return -1;
memset (&xd, 0, sizeof (xd));
xs[0] = xs[1] = 0;
i = 0;
+ rc = 0;
while ((c = fgetc (file->fp)) == ' ')
{
rc = xdatum_read (file->fp, &xd[i], &xs[i]);
if (rc)
break;
++file->line;

Return to:

Send suggestions and report system problems to the System administrator.