From 32d6540b3542621cbca5b98136885baeb40cdbb8 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 7 Jun 2004 06:07:14 +0000 Subject: [PATCH] (cmd_descriptives) Remove harmless but bogus test in STATISTICS parsing. --- src/ChangeLog | 5 +++++ src/descript.c | 6 +----- 2 files changed, 6 insertions(+), 5 deletions(-) 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) -- 2.30.2