summaryrefslogtreecommitdiffstats
path: root/src/json.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-02-20 15:26:42 +0100
committerBram Moolenaar <Bram@vim.org>2016-02-20 15:26:42 +0100
commitc6b14f0a8346ec7ddd86f3349d0b861a1b500147 (patch)
tree8be47baa426fa12875c4ee6b5dff5d75ba32e9ea /src/json.c
parent663128270e6ea6b529c45ceee4b369734b8b2fdb (diff)
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/json.c b/src/json.c
index 8d9a03b71d..7b85cd251e 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;