diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2016-03-15 20:54:22 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2016-03-21 12:57:04 +0100 |
commit | ace0c8fc182763ec54c078f495b025fec42143a3 (patch) | |
tree | 03bd0e91f63d4d2ae4f872eadb9b63c8823be2bf /source/pdf/js | |
parent | 4ce90ae4dcfabb6ddf19777165f585b24691876b (diff) | |
download | mupdf-ace0c8fc182763ec54c078f495b025fec42143a3.tar.xz |
Fix compiler warnings in murun.c and pdf-js.c by tagging rethrow as noreturn.
Diffstat (limited to 'source/pdf/js')
-rw-r--r-- | source/pdf/js/pdf-js.c | 2 |
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); |