projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
829d325
)
FREQUENCIES: Get rid of unused data_pool.
author
Ben Pfaff
<blp@cs.stanford.edu>
Thu, 18 Mar 2010 04:20:23 +0000
(21:20 -0700)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Thu, 18 Mar 2010 05:04:20 +0000
(22:04 -0700)
src/language/stats/frequencies.q
patch
|
blob
|
history
diff --git
a/src/language/stats/frequencies.q
b/src/language/stats/frequencies.q
index f71d3f636ee208bb8a4c9259a317d624cf70ba97..31bf5111081c4cabd0e2c261c4069b0b3d16ba1f 100644
(file)
--- a/
src/language/stats/frequencies.q
+++ b/
src/language/stats/frequencies.q
@@
-178,7
+178,6
@@
static size_t n_variables;
static const struct variable **v_variables;
/* Pools. */
static const struct variable **v_variables;
/* Pools. */
-static struct pool *data_pool; /* For per-SPLIT FILE group data. */
static struct pool *syntax_pool; /* For syntax-related data. */
/* Frequency tables. */
static struct pool *syntax_pool; /* For syntax-related data. */
/* Frequency tables. */
@@
-263,8
+262,6
@@
cmd_frequencies (struct lexer *lexer, struct dataset *ds)
result = internal_cmd_frequencies (lexer, ds);
pool_destroy (syntax_pool);
syntax_pool=0;
result = internal_cmd_frequencies (lexer, ds);
pool_destroy (syntax_pool);
syntax_pool=0;
- pool_destroy (data_pool);
- data_pool=0;
free (v_variables);
v_variables=0;
return result;
free (v_variables);
v_variables=0;
return result;
@@
-457,9
+454,6
@@
precalc (struct casereader *input, struct dataset *ds)
case_unref (c);
}
case_unref (c);
}
- pool_destroy (data_pool);
- data_pool = pool_create ();
-
for (i = 0; i < n_variables; i++)
{
const struct variable *v = v_variables[i];
for (i = 0; i < n_variables; i++)
{
const struct variable *v = v_variables[i];