summaryrefslogtreecommitdiffstats
path: root/sbin/dump/itime.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/dump/itime.c')
-rw-r--r--sbin/dump/itime.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sbin/dump/itime.c b/sbin/dump/itime.c
index 99d43ad..de880bb 100644
--- a/sbin/dump/itime.c
+++ b/sbin/dump/itime.c
@@ -60,7 +60,6 @@ struct dumptime {
SLIST_HEAD(dthead, dumptime) dthead = SLIST_HEAD_INITIALIZER(dthead);
struct dumpdates **ddatev = 0;
int nddates = 0;
-int ddates_in = 0;
static void dumprecout(FILE *, const struct dumpdates *);
static int getrecord(FILE *, struct dumpdates *);
@@ -113,7 +112,6 @@ readdumptimes(FILE *df)
SLIST_INSERT_HEAD(&dthead, dtwalk, dt_list);
}
- ddates_in = 1;
/*
* arrayify the list, leaving enough room for the additional
* record that we may have to add to the ddate structure
@@ -177,7 +175,6 @@ putdumptime(void)
free((char *)ddatev);
ddatev = 0;
nddates = 0;
- ddates_in = 0;
readdumptimes(df);
if (fseek(df, 0L, 0) < 0)
quit("fseek: %s\n", strerror(errno));
OpenPOWER on IntegriCloud