Apply patch #5225, assertions.
[pspp-builds.git] / src / data / variable.c
index 64e4b3f0cd9cbeb46e1315a6ee122de4834b9b51..435980e3f56fb7b49ca525b1d92621d984935305 100644 (file)
@@ -19,6 +19,7 @@
 
 #include <config.h>
 #include "variable.h"
+#include <libpspp/assertion.h>
 #include <libpspp/message.h>
 #include <stdlib.h>
 #include <libpspp/alloc.h>
@@ -346,8 +347,7 @@ dict_class_to_name (enum dict_class dict_class)
     case DC_SCRATCH:
       return _("scratch");
     default:
-      assert (0);
-      abort ();
+      NOT_REACHED ();
     }
 }