Patch 9.0.0792 (after patch 9.0.0787)
Problem:    MS-Windows: compiler complains about unused function.
Solution:   Add #ifdef. (John Marriott)
Files:      src/os_win32.c


*** ../vim-9.0.0791/src/os_win32.c      2022-10-18 13:33:22.148927173 +0100
--- src/os_win32.c      2022-10-18 21:44:47.183695602 +0100
***************
*** 1231,1237 ****
  }
  # endif
  
! 
  /*
   * Win32 console mouse scroll event handler.
   * Loosely based on the _OnMouseWheel() function in gui_w32.c
--- 1231,1237 ----
  }
  # endif
  
! #ifdef VIMDLL
  /*
   * Win32 console mouse scroll event handler.
   * Loosely based on the _OnMouseWheel() function in gui_w32.c
***************
*** 1324,1329 ****
--- 1324,1330 ----
  
      return;
  }
+ #endif
  
  /*
   * Decode a MOUSE_EVENT.  If it's a valid event, return MOUSE_LEFT,
*** ../vim-9.0.0791/src/version.c       2022-10-18 19:22:21.256701550 +0100
--- src/version.c       2022-10-18 21:47:16.904127534 +0100
***************
*** 697,698 ****
--- 697,700 ----
  {   /* Add new patch number below this line */
+ /**/
+     792,
  /**/

-- 
BEDEVERE: Stand by for attack!!
   [CUT TO enormous army forming up.  Trebuchets, rows of PIKEMEN, siege
   towers, pennants flying, shouts of "Stand by for attack!"  Traditional
   army build-up shots.  The shouts echo across the ranks of the army.
   We see various groups reacting, and stirring themselves in readiness.]
ARTHUR:   Who are they?
BEDEVERE: Oh, just some friends!
                 "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/ ///
 \\\            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/20221018205049.67CDB1C033D%40moolenaar.net.

Raspunde prin e-mail lui