To: vim_dev@googlegroups.com Subject: Patch 7.4.1933 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 7.4.1933 Problem: Compiler warning about uninitialzed variable. (Yegappan) Solution: Give it a dummy value. Files: src/ex_getln.c *** ../vim-7.4.1932/src/ex_getln.c 2016-06-12 23:03:15.331562031 +0200 --- src/ex_getln.c 2016-06-13 22:37:32.054267668 +0200 *************** *** 6318,6323 **** --- 6318,6325 ---- len = vp[3].bv_len; p = lalloc(len + 2, TRUE); } + else + len = 0; /* for picky compilers */ if (p != NULL) { viminfo_history[type][idx].time_set = vp[1].bv_nr; *** ../vim-7.4.1932/src/version.c 2016-06-13 22:22:10.884157766 +0200 --- src/version.c 2016-06-13 22:47:43.399729358 +0200 *************** *** 755,756 **** --- 755,758 ---- { /* Add new patch number below this line */ + /**/ + 1933, /**/ -- From "know your smileys": :-F Bucktoothed vampire with one tooth missing /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///