changeset 10492:b2cd5a71f4bb v8.0.0139

commit https://github.com/vim/vim/commit/5e1e6d265d26ee2952c4a018a5ff72c950d2d700 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jan 2 17:26:00 2017 +0100 patch 8.0.0139 Problem: Warning for unused argument. Solution: Add UNUSED.
author Christian Brabandt <cb@256bit.org>
date Mon, 02 Jan 2017 17:30:04 +0100
parents 19310ee2442e
children 521b15754ff6
files src/ex_docmd.c src/version.c
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -4370,7 +4370,7 @@ get_address(
     int		addr_type,  /* flag: one of ADDR_LINES, ... */
     int		skip,	    /* only skip the address, don't use it */
     int		to_other_file,  /* flag: may jump to other file */
-    int		address_count)	    /* 1 for first address, >1 after comma */
+    int		address_count UNUSED) /* 1 for first address, >1 after comma */
 {
     int		c;
     int		i;
@@ -7589,7 +7589,7 @@ ex_all(exarg_T *eap)
 #endif /* FEAT_WINDOWS */
 
     static void
-ex_hide(exarg_T *eap)
+ex_hide(exarg_T *eap UNUSED)
 {
     /* ":hide" or ":hide | cmd": hide current window */
 #ifdef FEAT_WINDOWS
--- a/src/version.c
+++ b/src/version.c
@@ -765,6 +765,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    139,
+/**/
     138,
 /**/
     137,