comparison src/ex_getln.c @ 9301:c3805fb080a6 v7.4.1933

commit https://github.com/vim/vim/commit/72e697d189616265ecefe0df4509d476df3bae40 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jun 13 22:48:01 2016 +0200 patch 7.4.1933 Problem: Compiler warning about uninitialzed variable. (Yegappan) Solution: Give it a dummy value.
author Christian Brabandt <cb@256bit.org>
date Mon, 13 Jun 2016 23:00:05 +0200
parents af25a1a875db
children 32e34e574716
comparison
equal deleted inserted replaced
9300:8a9695e6f91e 9301:c3805fb080a6
6316 { 6316 {
6317 /* Need to re-allocate to append the separator byte. */ 6317 /* Need to re-allocate to append the separator byte. */
6318 len = vp[3].bv_len; 6318 len = vp[3].bv_len;
6319 p = lalloc(len + 2, TRUE); 6319 p = lalloc(len + 2, TRUE);
6320 } 6320 }
6321 else
6322 len = 0; /* for picky compilers */
6321 if (p != NULL) 6323 if (p != NULL)
6322 { 6324 {
6323 viminfo_history[type][idx].time_set = vp[1].bv_nr; 6325 viminfo_history[type][idx].time_set = vp[1].bv_nr;
6324 if (!overwrite) 6326 if (!overwrite)
6325 { 6327 {