comparison src/json.c @ 7893:df2b8af14072 v7.4.1243

commit https://github.com/vim/vim/commit/fbf9c6b6c3bdb1c2eb42ea8c227e8ee021a7a8f2 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Feb 2 19:43:57 2016 +0100 patch 7.4.1243 Problem: Compiler warning for uninitialized variable. Solution: Initialize it. (Elias Diem)
author Christian Brabandt <cb@256bit.org>
date Tue, 02 Feb 2016 19:45:05 +0100
parents 98a96e0ca73b
children 2679e636e862
comparison
equal deleted inserted replaced
7892:cd38747db4f0 7893:df2b8af14072
337 char_u *p; 337 char_u *p;
338 typval_T tvkey; 338 typval_T tvkey;
339 typval_T item; 339 typval_T item;
340 dictitem_T *di; 340 dictitem_T *di;
341 char_u buf[NUMBUFLEN]; 341 char_u buf[NUMBUFLEN];
342 char_u *key; 342 char_u *key = NULL;
343 int ret; 343 int ret;
344 344
345 if (res != NULL && rettv_dict_alloc(res) == FAIL) 345 if (res != NULL && rettv_dict_alloc(res) == FAIL)
346 { 346 {
347 res->v_type = VAR_SPECIAL; 347 res->v_type = VAR_SPECIAL;