projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
222e7b7
)
FREQUENCIES: Remove unused pool.
author
Ben Pfaff
<blp@cs.stanford.edu>
Sat, 1 Jan 2022 18:35:17 +0000
(10:35 -0800)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Sat, 1 Jan 2022 19:01:11 +0000
(11:01 -0800)
src/language/stats/frequencies.c
patch
|
blob
|
history
diff --git
a/src/language/stats/frequencies.c
b/src/language/stats/frequencies.c
index a675ba21b776305773b88d73cd997d74e089b05f..d741edbdea4b011954d773989bc54b3396d3befe 100644
(file)
--- a/
src/language/stats/frequencies.c
+++ b/
src/language/stats/frequencies.c
@@
-45,7
+45,6
@@
#include "libpspp/hmap.h"
#include "libpspp/message.h"
#include "libpspp/misc.h"
#include "libpspp/hmap.h"
#include "libpspp/message.h"
#include "libpspp/misc.h"
-#include "libpspp/pool.h"
#include "math/histogram.h"
#include "math/moments.h"
#include "math/histogram.h"
#include "math/moments.h"
@@
-589,7
+588,6
@@
cmd_frequencies (struct lexer *lexer, struct dataset *ds)
int hi_pcnt = INT_MIN;
int hi_norm = FRQ_NONORMAL;
int hi_pcnt = INT_MIN;
int hi_norm = FRQ_NONORMAL;
- frq.pool = pool_create ();
frq.sort = FRQ_AVALUE;
frq.vars = NULL;
frq.sort = FRQ_AVALUE;
frq.vars = NULL;
@@
-1240,7
+1238,6
@@
cmd_frequencies (struct lexer *lexer, struct dataset *ds)
free (frq.pie);
free (frq.hist);
free (frq.percentiles);
free (frq.pie);
free (frq.hist);
free (frq.percentiles);
- pool_destroy (frq.pool);
return CMD_SUCCESS;
return CMD_SUCCESS;
@@
-1252,7
+1249,6
@@
cmd_frequencies (struct lexer *lexer, struct dataset *ds)
free (frq.pie);
free (frq.hist);
free (frq.percentiles);
free (frq.pie);
free (frq.hist);
free (frq.percentiles);
- pool_destroy (frq.pool);
return CMD_FAILURE;
}
return CMD_FAILURE;
}