X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdescript.c;h=e84733acb02380eb33d73dc04b9834951dadf1ae;hb=f9ce8d75ae81553d9aec05351cb2d12d0df33e5e;hp=9acd21e673d48269afb0d96a36fc249663cc51d6;hpb=06f9ee45954e5e71fa7f6262dbf37defa1dbf996;p=pspp diff --git a/src/descript.c b/src/descript.c index 9acd21e673..e84733acb0 100644 --- a/src/descript.c +++ b/src/descript.c @@ -29,6 +29,7 @@ #include "case.h" #include "casefile.h" #include "command.h" +#include "dictionary.h" #include "lexer.h" #include "error.h" #include "magic.h" @@ -262,11 +263,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)