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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user