X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fdata-out.c;h=0585dc2bb24e98d4f68eeccc15c83cbc650e5fca;hb=97d4f38945476834fd7fce612b663f19f2b291f8;hp=53d9850db88a0da0ffb9ac3c1a76ada0d097955b;hpb=37736728bbb526a27145a757836bd8b64e8adf6f;p=pspp-builds.git diff --git a/src/data/data-out.c b/src/data/data-out.c index 53d9850d..0585dc2b 100644 --- a/src/data/data-out.c +++ b/src/data/data-out.c @@ -25,6 +25,7 @@ #include #include #include "calendar.h" +#include #include #include "format.h" #include @@ -101,12 +102,10 @@ data_out (char *s, const struct fmt_spec *fp, const union value *v) break; case FMT_A: - assert (0); - abort (); + NOT_REACHED (); case FMT_AHEX: - assert (0); - abort (); + NOT_REACHED (); case FMT_IB: ok = convert_IB (s, fp, number); @@ -159,8 +158,7 @@ data_out (char *s, const struct fmt_spec *fp, const union value *v) break; default: - assert (0); - abort (); + NOT_REACHED (); } } else @@ -179,8 +177,7 @@ data_out (char *s, const struct fmt_spec *fp, const union value *v) break; default: - assert (0); - abort (); + NOT_REACHED (); } } @@ -751,7 +748,7 @@ convert_date (char *dst, const struct fmt_spec *fp, double number) } break; default: - assert (0); + NOT_REACHED (); } if (buf[0] == 0)