Patch 8.1.1304
Problem:    MS-Windows: compiler warning for unused value.
Solution:   Adjust #ifdefs. (Ken Takata, closes #4363)
Files:      src/gui.c


*** ../vim-8.1.1303/src/gui.c   2019-04-28 19:46:17.026060122 +0200
--- src/gui.c   2019-05-09 14:14:23.790938916 +0200
***************
*** 69,75 ****
  {
      char_u    *old_term;
      static int        recursive = 0;
! #ifdef GUI_MAY_SPAWN
      char      *msg = NULL;
  #endif
  
--- 69,75 ----
  {
      char_u    *old_term;
      static int        recursive = 0;
! #if defined(GUI_MAY_SPAWN) && defined(EXPERIMENTAL_GUI_CMD)
      char      *msg = NULL;
  #endif
  
***************
*** 113,119 ****
  # endif
            )
      {
!       msg = gui_mch_do_spawn(arg);
      }
      else
  #endif
--- 113,122 ----
  # endif
            )
      {
! # ifdef EXPERIMENTAL_GUI_CMD
!       msg =
! # endif
!           gui_mch_do_spawn(arg);
      }
      else
  #endif
*** ../vim-8.1.1303/src/version.c       2019-05-09 13:50:13.366401975 +0200
--- src/version.c       2019-05-09 14:14:19.762959513 +0200
***************
*** 769,770 ****
--- 769,772 ----
  {   /* Add new patch number below this line */
+ /**/
+     1304,
  /**/

-- 
INSPECTOR END OF FILM: Move along.  There's nothing to see!  Keep moving!
   [Suddenly he notices the cameras.]
INSPECTOR END OF FILM: (to Camera) All right, put that away sonny.
   [He walks over to it and puts his hand over the lens.]
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/201905091215.x49CFSHY005845%40masaka.moolenaar.net.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui