1
0
forked from aniani/vim

patch 7.4.1367

Problem:    Compiler warning for unreachable code.
Solution:   Remove a "break". (Danek Duvall)
This commit is contained in:
Bram Moolenaar
2016-02-20 15:26:42 +01:00
parent 663128270e
commit c6b14f0a83
2 changed files with 3 additions and 1 deletions

View File

@@ -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;