From ace0c8fc182763ec54c078f495b025fec42143a3 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 15 Mar 2016 20:54:22 +0100 Subject: Fix compiler warnings in murun.c and pdf-js.c by tagging rethrow as noreturn. --- source/pdf/js/pdf-js.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/pdf') diff --git a/source/pdf/js/pdf-js.c b/source/pdf/js/pdf-js.c index bc9fcae0..5a885c75 100644 --- a/source/pdf/js/pdf-js.c +++ b/source/pdf/js/pdf-js.c @@ -10,7 +10,7 @@ struct pdf_js_s js_State *imp; }; -static void rethrow(pdf_js *js) +FZ_NORETURN static void rethrow(pdf_js *js) { js_newerror(js->imp, fz_caught_message(js->ctx)); js_throw(js->imp); -- cgit v1.2.3