From: Eli Zaretskii Date: Fri, 19 Apr 2019 08:04:17 +0000 (+0300) Subject: Fix compilation warning due to a recent change X-Git-Tag: emacs-27.0.90~3211 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d9d9c32329cb17f96cb1690228b30702b5a4c772;p=emacs.git Fix compilation warning due to a recent change * src/json.c (json_handle_nonlocal_exit): Always return a value. --- 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; } }