From 61d3cdbb34ed7ebaa9a9a3c4f13595488b80c8f5 Mon Sep 17 00:00:00 2001 From: Thilo Schulz Date: Mon, 18 Jul 2011 14:56:57 +0000 Subject: Bug 4812 - GCC __attribute__ annotations for printf, non-returning functions etc., patch by linux@youmustbejoking.demon.co.uk and Zack Middleton --- src/jpeg-8c/jerror.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/jpeg-8c/jerror.c') diff --git a/src/jpeg-8c/jerror.c b/src/jpeg-8c/jerror.c index 2860d3fa..425bef1c 100644 --- a/src/jpeg-8c/jerror.c +++ b/src/jpeg-8c/jerror.c @@ -68,7 +68,7 @@ const char * const jpeg_std_message_table[] = { * or jpeg_destroy) at some point. */ -METHODDEF(void) +__attribute__ ((noreturn)) METHODDEF(void) error_exit (j_common_ptr cinfo) { /* Always display the message */ -- cgit