# HG changeset patch # User Christian Brabandt # Date 1483374604 -3600 # Node ID b2cd5a71f4bb8928cdfaf56749609e9e2e847711 # Parent 19310ee2442e58bc0b0523d3060056db978ac480 commit https://github.com/vim/vim/commit/5e1e6d265d26ee2952c4a018a5ff72c950d2d700 Author: Bram Moolenaar Date: Mon Jan 2 17:26:00 2017 +0100 patch 8.0.0139 Problem: Warning for unused argument. Solution: Add UNUSED. diff --git a/src/ex_docmd.c b/src/ex_docmd.c --- 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 --- 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,