summaryrefslogtreecommitdiff
path: root/source/pdf
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2016-03-15 20:54:22 +0100
committerTor Andersson <tor.andersson@artifex.com>2016-03-21 12:57:04 +0100
commitace0c8fc182763ec54c078f495b025fec42143a3 (patch)
tree03bd0e91f63d4d2ae4f872eadb9b63c8823be2bf /source/pdf
parent4ce90ae4dcfabb6ddf19777165f585b24691876b (diff)
downloadmupdf-ace0c8fc182763ec54c078f495b025fec42143a3.tar.xz
Fix compiler warnings in murun.c and pdf-js.c by tagging rethrow as noreturn.
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);