Patch 9.0.0689
Problem:    Compiler warning for unused function.
Solution:   Add #ifdef. (John Marriott)
Files:      src/vim9compile.c


*** ../vim-9.0.0688/src/vim9compile.c   2022-10-07 15:09:24.608804815 +0100
--- src/vim9compile.c   2022-10-07 22:41:56.931810545 +0100
***************
*** 2682,2687 ****
--- 2682,2688 ----
      return r;
  }
  
+ #ifdef HAS_MESSAGE_WINDOW
  /*
   * Get a count before a command.  Can only be a number.
   * Returns zero if there is no count.
***************
*** 2707,2712 ****
--- 2708,2714 ----
      }
      return atol((char *)p);
  }
+ #endif
  
  /*
   * Get the compilation type that should be used for "ufunc".
*** ../vim-9.0.0688/src/version.c       2022-10-07 18:51:20.139679475 +0100
--- src/version.c       2022-10-07 22:43:24.167437597 +0100
***************
*** 701,702 ****
--- 701,704 ----
  {   /* Add new patch number below this line */
+ /**/
+     689,
  /**/

-- 
Even got a Datapoint 3600(?) with a DD50 connector instead of the
usual DB25...  what a nightmare trying to figure out the pinout
for *that* with no spex...

 /// 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/20221007214848.798601C0C31%40moolenaar.net.

Raspunde prin e-mail lui