From: Ben Pfaff Date: Sat, 6 May 2006 04:39:20 +0000 (+0000) Subject: Get rid of unused struct member. X-Git-Tag: v0.6.0~899 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d35744eb866ac9ca0e9da4b212d4e6d1854643d;p=pspp-builds.git Get rid of unused struct member. --- diff --git a/src/data/ChangeLog b/src/data/ChangeLog index 0da663bf..59d9a7bd 100644 --- a/src/data/ChangeLog +++ b/src/data/ChangeLog @@ -1,3 +1,11 @@ +Fri May 5 21:34:02 2006 Ben Pfaff + + Get rid of unused member. + + * procedure.c: (struct write_case_data) Remove `cases_analyzed' + member. + (write_case) Don't increment cases_analyzed. + Thu May 4 21:50:11 2006 Ben Pfaff Continue reforming procedure execution. In this phase, move diff --git a/src/data/procedure.c b/src/data/procedure.c index 4a5e9ddb..13f907cb 100644 --- a/src/data/procedure.c +++ b/src/data/procedure.c @@ -67,7 +67,6 @@ struct write_case_data struct ccase sink_case; /* Case written to sink, if compaction is necessary. */ size_t cases_written; /* Cases output so far. */ - size_t cases_analyzed; /* Cases passed to procedure so far. */ }; /* Cases are read from vfm_source, @@ -365,7 +364,6 @@ write_case (struct write_case_data *wc_data) } /* Pass case to procedure. */ - wc_data->cases_analyzed++; if (wc_data->proc_func != NULL) if (!wc_data->proc_func (&wc_data->trns_case, wc_data->aux)) retval = TRNS_ERROR;