From: Ben Pfaff Date: Sun, 11 Sep 2022 18:10:11 +0000 (-0700) Subject: AGGREGATE: Remove write-only struct member. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20a719c093ca3a8ebfd827eb17a9638fe0cda95b;p=pspp AGGREGATE: Remove write-only struct member. --- diff --git a/src/language/stats/aggregate.c b/src/language/stats/aggregate.c index 944ba7b922..8ee7060f63 100644 --- a/src/language/stats/aggregate.c +++ b/src/language/stats/aggregate.c @@ -78,7 +78,7 @@ struct agr_var /* Accumulated during AGGREGATE execution. */ double dbl[3]; - int int1, int2; + int int1; char *string; bool saw_missing; struct moments1 *moments; @@ -1104,7 +1104,7 @@ initialize_aggregate_info (struct agr_proc *agr) { iter->saw_missing = false; iter->dbl[0] = iter->dbl[1] = iter->dbl[2] = 0.0; - iter->int1 = iter->int2 = 0; + iter->int1 = 0; switch (iter->function) { case MIN: