summaryrefslogtreecommitdiff
path: root/source/pdf
diff options
context:
space:
mode:
Diffstat (limited to 'source/pdf')
-rw-r--r--source/pdf/js/pdf-js.c2
1 files changed, 1 insertions, 1 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);