mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
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 #4363)
This commit is contained in:
parent
be0a2597ae
commit
68cbb14bae
@ -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
|
||||
|
@ -767,6 +767,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1304,
|
||||
/**/
|
||||
1303,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user