From: Ben Pfaff Date: Mon, 7 Jun 2004 06:07:14 +0000 (+0000) Subject: (cmd_descriptives) Remove harmless but bogus test in STATISTICS X-Git-Tag: v0.4.0~259 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32d6540b3542621cbca5b98136885baeb40cdbb8;p=pspp-builds.git (cmd_descriptives) Remove harmless but bogus test in STATISTICS parsing. --- diff --git a/src/ChangeLog b/src/ChangeLog index 63f0439c..e8850ced 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +Wed Jun 2 22:08:02 2004 Ben Pfaff + + * descript.c: (cmd_descriptives) Remove harmless but bogus test in + STATISTICS parsing. + Mon May 31 20:45:24 2004 Ben Pfaff Fix memory leaks. diff --git a/src/descript.c b/src/descript.c index 9acd21e6..e05c9292 100644 --- a/src/descript.c +++ b/src/descript.c @@ -262,11 +262,7 @@ cmd_descriptives (void) else if (lex_match_id ("DEFAULT")) dsc->show_stats |= DEFAULT_STATS; else - { - dsc->show_stats |= 1ul << (match_statistic ()); - if (dsc->show_stats == DSC_NONE) - dsc->show_stats = DEFAULT_STATS; - } + dsc->show_stats |= 1ul << (match_statistic ()); lex_match (','); } if (dsc->show_stats == 0)