From: Ben Pfaff Date: Tue, 21 Mar 2006 00:34:16 +0000 (+0000) Subject: Mark error() as NO_RETURN. X-Git-Tag: v0.6.0~1038 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f19d8882cd0ecbf7811c73c2a3cf9ffe422d39d5;p=pspp-builds.git Mark error() as NO_RETURN. --- diff --git a/src/data/ChangeLog b/src/data/ChangeLog index e0a4f196..f3a7c12b 100644 --- a/src/data/ChangeLog +++ b/src/data/ChangeLog @@ -1,3 +1,7 @@ +Mon Mar 20 16:33:53 2006 Ben Pfaff + + * por-file-reader.c: (error) Mark as NO_RETURN. + Sat Mar 11 15:06:07 WST 2006 John Darrington * settings.c: Changed default value of scompress to true. diff --git a/src/data/por-file-reader.c b/src/data/por-file-reader.c index 900f6298..c4fec4b0 100644 --- a/src/data/por-file-reader.c +++ b/src/data/por-file-reader.c @@ -79,7 +79,8 @@ struct pfm_reader static void error (struct pfm_reader *r, const char *msg,...) - PRINTF_FORMAT (2, 3); + PRINTF_FORMAT (2, 3) + NO_RETURN; /* Displays MSG as an error message and aborts reading the portable file via longjmp(). */