diff options
| author | Eli Zaretskii | 2019-04-19 11:04:17 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2019-04-19 11:04:17 +0300 |
| commit | d9d9c32329cb17f96cb1690228b30702b5a4c772 (patch) | |
| tree | cc89497389f53cb115720f52089c00091eea0121 /src | |
| parent | 5ada97cfcd4c331876d80cabbf4d5a5e762bf581 (diff) | |
| download | emacs-d9d9c32329cb17f96cb1690228b30702b5a4c772.tar.gz emacs-d9d9c32329cb17f96cb1690228b30702b5a4c772.zip | |
Fix compilation warning due to a recent change
* src/json.c (json_handle_nonlocal_exit): Always return a
value.
Diffstat (limited to 'src')
| -rw-r--r-- | src/json.c | 2 |
1 files changed, 2 insertions, 0 deletions
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) | |||
| 674 | return data; | 674 | return data; |
| 675 | case NONLOCAL_EXIT_THROW: | 675 | case NONLOCAL_EXIT_THROW: |
| 676 | return Fcons (Qno_catch, data); | 676 | return Fcons (Qno_catch, data); |
| 677 | default: | ||
| 678 | return Qnil; | ||
| 677 | } | 679 | } |
| 678 | } | 680 | } |
| 679 | 681 | ||