]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 7.4.1367 v7.4.1367
authorBram Moolenaar <Bram@vim.org>
Sat, 20 Feb 2016 14:26:42 +0000 (15:26 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 20 Feb 2016 14:26:42 +0000 (15:26 +0100)
Problem:    Compiler warning for unreachable code.
Solution:   Remove a "break". (Danek Duvall)

src/json.c
src/version.c

index 8d9a03b71da4254eadb3ee080ed2e91f0a0b353f..7b85cd251e19e9ac628a735dd53d6e68391011ff 100644 (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;
index 19cd69cc8e1090485ecf562a5f82ed6515d90e65..2203948a826ae5ce1e6c9a829fc51d2e117fabfd 100644 (file)
@@ -747,6 +747,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1367,
 /**/
     1366,
 /**/