From d9d9c32329cb17f96cb1690228b30702b5a4c772 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 19 Apr 2019 11:04:17 +0300 Subject: [PATCH] Fix compilation warning due to a recent change * src/json.c (json_handle_nonlocal_exit): Always return a value. --- src/json.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/json.c b/src/json.c index 014ac3e3168..6ddf5100e86 100644 --- a/src/json.c +++ b/src/json.c @@ -674,6 +674,8 @@ json_handle_nonlocal_exit (enum nonlocal_exit type, Lisp_Object data) return data; case NONLOCAL_EXIT_THROW: return Fcons (Qno_catch, data); + default: + return Qnil; } } -- 2.39.5