summaryrefslogtreecommitdiff
path: root/source/tools/murun.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/tools/murun.c')
-rw-r--r--source/tools/murun.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/tools/murun.c b/source/tools/murun.c
index c8b10dae..29e52578 100644
--- a/source/tools/murun.c
+++ b/source/tools/murun.c
@@ -1424,7 +1424,7 @@ static void ffi_readFile(js_State *J)
buf = fz_read_file(ctx, filename);
fz_catch(ctx)
rethrow(J);
- return ffi_pushbuffer(J, buf);
+ ffi_pushbuffer(J, buf);
}
static void ffi_new_Buffer(js_State *J)
@@ -1436,7 +1436,7 @@ static void ffi_new_Buffer(js_State *J)
buf = fz_new_buffer(ctx, n);
fz_catch(ctx)
rethrow(J);
- return ffi_pushbuffer(J, buf);
+ ffi_pushbuffer(J, buf);
}
static void ffi_Buffer_writeByte(js_State *J)