Apply patch #5225, assertions.
[pspp-builds.git] / src / libpspp / pool.c
index 0e6c9358fc828cd10f027c32d9f5750c7ffd5c23..d4c00b38037a6d754dbde33b6cb5774d3aebe891 100644 (file)
@@ -21,6 +21,7 @@
 #include "pool.h"
 #include <stdlib.h>
 #include "alloc.h"
+#include <libpspp/assertion.h>
 #include "message.h"
 #include "size_max.h"
 #include "str.h"
@@ -915,7 +916,7 @@ free_gizmo (struct pool_gizmo *gizmo)
       gizmo->p.registered.free (gizmo->p.registered.p);
       break;
     default:
-      assert (0);
+      NOT_REACHED ();
     }
 }