mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 8.0.0598: building with gcc 7.1 yields new warnings
Problem: Building with gcc 7.1 yields new warnings. Solution: Initialize result. (John Marriott)
This commit is contained in:
@@ -10890,6 +10890,9 @@ eval_vars(
|
||||
result = strbuf;
|
||||
break;
|
||||
#endif
|
||||
default:
|
||||
result = (char_u *)""; /* avoid gcc warning */
|
||||
break;
|
||||
}
|
||||
|
||||
resultlen = (int)STRLEN(result); /* length of new string */
|
||||
|
@@ -764,6 +764,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
598,
|
||||
/**/
|
||||
597,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user