diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-02-20 15:26:42 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-02-20 15:26:42 +0100 |
commit | c6b14f0a8346ec7ddd86f3349d0b861a1b500147 (patch) | |
tree | 8be47baa426fa12875c4ee6b5dff5d75ba32e9ea /src/json.c | |
parent | 663128270e6ea6b529c45ceee4b369734b8b2fdb (diff) | |
download | vim-git-c6b14f0a8346ec7ddd86f3349d0b861a1b500147.tar.gz |
patch 7.4.1367v7.4.1367
Problem: Compiler warning for unreachable code.
Solution: Remove a "break". (Danek Duvall)
Diffstat (limited to 'src/json.c')
-rw-r--r-- | src/json.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/json.c b/src/json.c index 8d9a03b71..7b85cd251 100644 --- a/src/json.c +++ b/src/json.c @@ -272,7 +272,7 @@ json_encode_item(garray_T *gap, typval_T *val, int copyID, int options) break; #endif case VAR_UNKNOWN: - EMSG2(_(e_intern2), "json_encode_item()"); break; + EMSG2(_(e_intern2), "json_encode_item()"); return FAIL; } return OK; |