diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-05-09 14:14:42 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-05-09 14:14:42 +0200 |
commit | 68cbb14bae1013702270b25e886b5ee09e07575a (patch) | |
tree | 77a77c529e10499164dd1281d2750f656acedfd4 /src/gui.c | |
parent | be0a2597ae0d9eb0b8a8a2fc9ae1784faa929844 (diff) | |
download | vim-git-68cbb14bae1013702270b25e886b5ee09e07575a.tar.gz |
patch 8.1.1304: MS-Windows: compiler warning for unused valuev8.1.1304
Problem: MS-Windows: compiler warning for unused value.
Solution: Adjust #ifdefs. (Ken Takata, closes #4363)
Diffstat (limited to 'src/gui.c')
-rw-r--r-- | src/gui.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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 |