(cmd_descriptives) Remove harmless but bogus test in STATISTICS
authorBen Pfaff <blp@gnu.org>
Mon, 7 Jun 2004 06:07:14 +0000 (06:07 +0000)
committerBen Pfaff <blp@gnu.org>
Mon, 7 Jun 2004 06:07:14 +0000 (06:07 +0000)
parsing.

src/ChangeLog
src/descript.c

index 63f0439c7bd494f859a39e938457c4b9e93d73a6..e8850ced7eaa8a8da127bdb319f5eab8dbee0f03 100644 (file)
@@ -1,3 +1,8 @@
+Wed Jun  2 22:08:02 2004  Ben Pfaff  <blp@gnu.org>
+
+       * descript.c: (cmd_descriptives) Remove harmless but bogus test in
+       STATISTICS parsing.
+
 Mon May 31 20:45:24 2004  Ben Pfaff  <blp@gnu.org>
 
        Fix memory leaks.
index 9acd21e673d48269afb0d96a36fc249663cc51d6..e05c92921614c4e3b11d8499248ad281fbda65ee 100644 (file)
@@ -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)