X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Fstats%2Fdescriptives.c;h=0cee83e06b79b018feeeb4834e46af87fabc1f89;hb=29a50aeb6f35214d2affdec3bdb796f2d0e655ba;hp=a4b8e53b8344e5b5e31b9665904f5153ebb660fa;hpb=d416357a9e9c23251ff1357f0f1c3ba5ac48223e;p=pspp diff --git a/src/language/stats/descriptives.c b/src/language/stats/descriptives.c index a4b8e53b83..0cee83e06b 100644 --- a/src/language/stats/descriptives.c +++ b/src/language/stats/descriptives.c @@ -272,7 +272,7 @@ cmd_descriptives (struct lexer *lexer, struct dataset *ds) else { enum dsc_statistic s = match_statistic (lexer); - if (s == DSC_NONE ) + if (s == DSC_NONE) { lex_error (lexer, NULL); goto error; @@ -292,7 +292,7 @@ cmd_descriptives (struct lexer *lexer, struct dataset *ds) else { dsc->sort_by_stat = match_statistic (lexer); - if (dsc->sort_by_stat == DSC_NONE ) + if (dsc->sort_by_stat == DSC_NONE) dsc->sort_by_stat = DSC_MEAN; } if (lex_match (lexer, T_LPAREN)) @@ -727,7 +727,7 @@ setup_z_trns (struct dsc_proc *dsc, struct dataset *ds) t->z_score_cnt = cnt; t->missing_type = dsc->missing_type; t->exclude = dsc->exclude; - if ( t->missing_type == DSC_LISTWISE ) + if (t->missing_type == DSC_LISTWISE) { t->var_cnt = dsc->var_cnt; t->vars = xnmalloc (t->var_cnt, sizeof *t->vars);