mirror of
https://github.com/neovim/neovim.git
synced 2024-12-21 19:55:04 -07:00
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:
parent
9500448220
commit
b148213366
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user