X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Fstats%2Fexamine.q;h=2649968b31485b105f6a80f3119ab39bdc851eea;hb=3c52a21736b3777ced3e47148fa2fc8f9eff59c8;hp=78ea0e63c0b1989f3f35a0a1e1105e5bb269f76d;hpb=dff7c7a05e6da0de78544fa97c6882bd4a40d977;p=pspp diff --git a/src/language/stats/examine.q b/src/language/stats/examine.q index 78ea0e63c0..2649968b31 100644 --- a/src/language/stats/examine.q +++ b/src/language/stats/examine.q @@ -198,7 +198,7 @@ factor_destroy (struct xfactor *fctr) } static struct xfactor level0_factor; -static struct ll_list factor_list = LL_INITIALIZER (factor_list); +static struct ll_list factor_list; /* Parse the clause specifying the factors */ static int examine_parse_independent_vars (struct lexer *lexer, @@ -268,6 +268,8 @@ cmd_examine (struct lexer *lexer, struct dataset *ds) subc_list_double_create (&percentile_list); percentile_algorithm = PC_HAVERAGE; + ll_init (&factor_list); + if ( !parse_examine (lexer, ds, &cmd, NULL) ) { subc_list_double_destroy (&percentile_list);