Added a test for the lag command and started on the sample command
[pspp] / src / q2c.c
index 839d4a779022f6677496b4542c9bf71dea574392..87dcadb1044e4a6ef18624017e162d8a2b6932d9 100644 (file)
--- a/src/q2c.c
+++ b/src/q2c.c
@@ -86,11 +86,7 @@ char *tokstr;
 \f
 /* Utility functions. */
 
-#if !(__GNUC__ >= 2)
-#define nullstr ""
-#else
-const char nullstr[] = "";
-#endif
+char nullstr[] = "";
 
 /* Close all open files and delete the output file, on failure. */
 void
@@ -167,13 +163,7 @@ xmalloc (size_t size)
   
   vp = malloc (size);
   if (!vp)
-    {
-#if DEBUGGING && __CHECKER__
-      error ("xmalloc(%lu): Inducing segfault.", (unsigned long) size);
-      *((int *) 0) = 0;
-#endif
-      fail ("xmalloc(%lu): %s", (unsigned long) size, VME);
-    }
+    fail ("xmalloc(%lu): %s", (unsigned long) size, VME);
   
   return vp;
 }
@@ -1134,7 +1124,7 @@ dump_declarations (void)
            dump (0, "long n_%s;", st_lower (sbc->name));
            break;
 
-         default:
+         default:;
            /* nothing */
          }
       }