From: Ben Pfaff Date: Thu, 18 Mar 2010 04:20:23 +0000 (-0700) Subject: FREQUENCIES: Get rid of unused data_pool. X-Git-Tag: v0.7.5~101 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=baaa8be0479fd2e0b5e2bfa577505f3964c1593c;p=pspp-builds.git FREQUENCIES: Get rid of unused data_pool. --- diff --git a/src/language/stats/frequencies.q b/src/language/stats/frequencies.q index f71d3f63..31bf5111 100644 --- 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 struct pool *data_pool; /* For per-SPLIT FILE group data. */ 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; - pool_destroy (data_pool); - data_pool=0; free (v_variables); v_variables=0; return result; @@ -457,9 +454,6 @@ precalc (struct casereader *input, struct dataset *ds) 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];