summaryrefslogtreecommitdiff
path: root/source/tools
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/tools
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/tools')
-rw-r--r--source/tools/murun.c2
1 files changed, 1 insertions, 1 deletions
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);