Permalink
Browse files

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)
  • Loading branch information...
brammool committed May 16, 2017
1 parent 253f912 commit 9e0f6ec0762575d229b86798b284ca4876bc3d73
Showing with 5 additions and 0 deletions.
  1. +3 −0 src/ex_docmd.c
  2. +2 −0 src/version.c
View
@@ -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 */
View
@@ -764,6 +764,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
598,
/**/
597,
/**/

0 comments on commit 9e0f6ec

Please sign in to comment.