# HG changeset patch # User Bram Moolenaar # Date 1557404107 -7200 # Node ID 47a8b29f289c439d5578d9294160d0a7ca9c23c6 # Parent 606aa25840e71256858d2800cc09cd8b043896ee patch 8.1.1304: MS-Windows: compiler warning for unused value commit https://github.com/vim/vim/commit/68cbb14bae1013702270b25e886b5ee09e07575a Author: Bram Moolenaar Date: Thu May 9 14:14:42 2019 +0200 patch 8.1.1304: MS-Windows: compiler warning for unused value Problem: MS-Windows: compiler warning for unused value. Solution: Adjust #ifdefs. (Ken Takata, closes https://github.com/vim/vim/issues/4363) diff --git a/src/gui.c b/src/gui.c --- a/src/gui.c +++ b/src/gui.c @@ -69,7 +69,7 @@ gui_start(char_u *arg UNUSED) { char_u *old_term; static int recursive = 0; -#ifdef GUI_MAY_SPAWN +#if defined(GUI_MAY_SPAWN) && defined(EXPERIMENTAL_GUI_CMD) char *msg = NULL; #endif @@ -113,7 +113,10 @@ gui_start(char_u *arg UNUSED) # endif ) { - msg = gui_mch_do_spawn(arg); +# ifdef EXPERIMENTAL_GUI_CMD + msg = +# endif + gui_mch_do_spawn(arg); } else #endif diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -768,6 +768,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1304, +/**/ 1303, /**/ 1302,