comparison src/json.c @ 8146:5dacbd22fefd v7.4.1367

commit https://github.com/vim/vim/commit/c6b14f0a8346ec7ddd86f3349d0b861a1b500147 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Feb 20 15:26:42 2016 +0100 patch 7.4.1367 Problem: Compiler warning for unreachable code. Solution: Remove a "break". (Danek Duvall)
author Christian Brabandt <cb@256bit.org>
date Sat, 20 Feb 2016 15:30:04 +0100
parents c6443e78cf2d
children a0e552c51c34
comparison
equal deleted inserted replaced
8145:80677ca277a6 8146:5dacbd22fefd
270 vim_snprintf((char *)numbuf, NUMBUFLEN, "%g", val->vval.v_float); 270 vim_snprintf((char *)numbuf, NUMBUFLEN, "%g", val->vval.v_float);
271 ga_concat(gap, numbuf); 271 ga_concat(gap, numbuf);
272 break; 272 break;
273 #endif 273 #endif
274 case VAR_UNKNOWN: 274 case VAR_UNKNOWN:
275 EMSG2(_(e_intern2), "json_encode_item()"); break; 275 EMSG2(_(e_intern2), "json_encode_item()");
276 return FAIL; 276 return FAIL;
277 } 277 }
278 return OK; 278 return OK;
279 } 279 }
280 280