vim-patch:8.0.0598: building with gcc 7.1 yields new warnings (#8585)

Problem:    Building with gcc 7.1 yields new warnings.
Solution:   Initialize result. (John Marriott)
9e0f6ec076
This commit is contained in:
Jan Edmund Lazo 2018-06-19 04:48:25 -04:00 committed by Justin M. Keyes
parent 9500448220
commit b148213366

View File

@ -8611,7 +8611,8 @@ eval_vars (
default:
// should not happen
*errormsg = (char_u *)"";
return NULL;
result = (char_u *)""; // avoid gcc warning
break;
}
resultlen = STRLEN(result); /* length of new string */