Make the expression code a little nicer and fix bugs found
[pspp-builds.git] / src / postscript.c
index 2bfc3fd76298172345c284804229b5d5bf3f5793..8a4c9acb7d5bf44ad3097ac55051f5e8ef5854a4 100644 (file)
@@ -661,6 +661,7 @@ ps_option (struct outp_driver *this, const char *key, const struct string *val)
            break;
          default:
            assert (0);
+            abort ();
          }
        if (setting)
          x->output_options |= mask;
@@ -762,6 +763,7 @@ ps_option (struct outp_driver *this, const char *key, const struct string *val)
            break;
          default:
            assert (0);
+            abort ();
          }
        if (*dest)
          free (*dest);
@@ -2410,6 +2412,7 @@ write_text (struct outp_driver *this,
       break;
     default:
       assert (0);
+      abort ();
     }
 
   lp = line;