Fixed warnings generated by gcc 4.1.2
[pspp-builds.git] / src / language / dictionary / split-file.c
index 201a999e509668701be57864df5c08ed7f44b5ef..78769ca16da49515bdc45859b756c22c8e991a07 100644 (file)
@@ -30,6 +30,7 @@
 #include <language/command.h>
 #include <language/dictionary/split-file.h>
 #include <language/lexer/lexer.h>
+#include <language/lexer/variable-parser.h>
 #include <libpspp/alloc.h>
 #include <libpspp/message.h>
 #include <libpspp/str.h>
@@ -50,7 +51,7 @@ cmd_split_file (void)
       size_t n;
 
       /* For now, ignore SEPARATE and LAYERED. */
-      lex_match_id ("SEPARATE") || lex_match_id ("LAYERED");
+      (void) ( lex_match_id ("SEPARATE") || lex_match_id ("LAYERED") );
       
       lex_match (T_BY);
       if (!parse_variables (default_dict, &v, &n, PV_NO_DUPLICATE))