projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36fc62c
)
AGGREGATE: Remove write-only struct member.
author
Ben Pfaff
<blp@cs.stanford.edu>
Sun, 11 Sep 2022 18:10:11 +0000
(11:10 -0700)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Sun, 11 Sep 2022 18:10:11 +0000
(11:10 -0700)
src/language/stats/aggregate.c
patch
|
blob
|
history
diff --git
a/src/language/stats/aggregate.c
b/src/language/stats/aggregate.c
index 944ba7b92278173633df300f0e22f3f96401d85c..8ee7060f6319a55f1899c0b819959dcf4408db0e 100644
(file)
--- 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: