comparison src/gui.c @ 16602:47a8b29f289c v8.1.1304

patch 8.1.1304: MS-Windows: compiler warning for unused value commit https://github.com/vim/vim/commit/68cbb14bae1013702270b25e886b5ee09e07575a Author: Bram Moolenaar <Bram@vim.org> 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)
author Bram Moolenaar <Bram@vim.org>
date Thu, 09 May 2019 14:15:07 +0200
parents 7ae2396cef62
children b52ea9c5f1db
comparison
equal deleted inserted replaced
16601:606aa25840e7 16602:47a8b29f289c
67 void 67 void
68 gui_start(char_u *arg UNUSED) 68 gui_start(char_u *arg UNUSED)
69 { 69 {
70 char_u *old_term; 70 char_u *old_term;
71 static int recursive = 0; 71 static int recursive = 0;
72 #ifdef GUI_MAY_SPAWN 72 #if defined(GUI_MAY_SPAWN) && defined(EXPERIMENTAL_GUI_CMD)
73 char *msg = NULL; 73 char *msg = NULL;
74 #endif 74 #endif
75 75
76 old_term = vim_strsave(T_NAME); 76 old_term = vim_strsave(T_NAME);
77 77
111 # ifdef FEAT_JOB_CHANNEL 111 # ifdef FEAT_JOB_CHANNEL
112 && !job_any_running() 112 && !job_any_running()
113 # endif 113 # endif
114 ) 114 )
115 { 115 {
116 msg = gui_mch_do_spawn(arg); 116 # ifdef EXPERIMENTAL_GUI_CMD
117 msg =
118 # endif
119 gui_mch_do_spawn(arg);
117 } 120 }
118 else 121 else
119 #endif 122 #endif
120 { 123 {
121 #ifdef FEAT_GUI_GTK 124 #ifdef FEAT_GUI_GTK