diff options
Diffstat (limited to 'source')
-rw-r--r-- | source/pdf/js/pdf-js.c | 2 | ||||
-rw-r--r-- | source/tools/murun.c | 2 |
2 files changed, 2 insertions, 2 deletions
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); diff --git a/source/tools/murun.c b/source/tools/murun.c index 5275bfe2..8e99cac5 100644 --- a/source/tools/murun.c +++ b/source/tools/murun.c @@ -5,7 +5,7 @@ #define PS1 "> " -static void rethrow(js_State *J) +FZ_NORETURN static void rethrow(js_State *J) { js_newerror(J, fz_caught_message(js_getcontext(J))); js_throw(J); |