comparison src/option.c @ 22242:f7871f02ddcd v8.2.1670

patch 8.2.1670: a couple of gcc compiler warnings Commit: https://github.com/vim/vim/commit/8f13d82fa6ac6faa1a91076e99000a8f02180e8e Author: Bram Moolenaar <Bram@vim.org> Date: Sat Sep 12 21:04:23 2020 +0200 patch 8.2.1670: a couple of gcc compiler warnings Problem: A couple of gcc compiler warnings. Solution: Initialize local variables. (Dominique Pell?, closes https://github.com/vim/vim/issues/6944)
author Bram Moolenaar <Bram@vim.org>
date Sat, 12 Sep 2020 21:15:03 +0200
parents b5abb88d5700
children e82579016863
comparison
equal deleted inserted replaced
22241:d99599baeaf8 22242:f7871f02ddcd
681 * "origval". Return NULL if not found. 681 * "origval". Return NULL if not found.
682 */ 682 */
683 static char_u * 683 static char_u *
684 find_dup_item(char_u *origval, char_u *newval, long_u flags) 684 find_dup_item(char_u *origval, char_u *newval, long_u flags)
685 { 685 {
686 int bs; 686 int bs = 0;
687 size_t newlen; 687 size_t newlen;
688 char_u *s; 688 char_u *s;
689 689
690 if (origval == NULL) 690 if (origval == NULL)
691 return NULL; 691 return NULL;