From: Bram Moolenaar Date: Mon, 2 Jan 2017 16:26:00 +0000 (+0100) Subject: patch 8.0.0139 X-Git-Tag: v8.0.0139 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5e1e6d265d26ee2952c4a018a5ff72c950d2d700;p=vim patch 8.0.0139 Problem: Warning for unused argument. Solution: Add UNUSED. --- diff --git a/src/ex_docmd.c b/src/ex_docmd.c index 0c6536c3e..b73eb95c9 100644 --- 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 diff --git a/src/version.c b/src/version.c index d8993da8e..9364c99fc 100644 --- a/src/version.c +++ b/src/version.c @@ -764,6 +764,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 139, /**/ 138, /**/