Mercurial > vim
comparison src/ex_docmd.c @ 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 | 8f2191b56d52 |
children | 4b152b5f414f |
comparison
equal
deleted
inserted
replaced
10491:19310ee2442e | 10492:b2cd5a71f4bb |
---|---|
4368 exarg_T *eap UNUSED, | 4368 exarg_T *eap UNUSED, |
4369 char_u **ptr, | 4369 char_u **ptr, |
4370 int addr_type, /* flag: one of ADDR_LINES, ... */ | 4370 int addr_type, /* flag: one of ADDR_LINES, ... */ |
4371 int skip, /* only skip the address, don't use it */ | 4371 int skip, /* only skip the address, don't use it */ |
4372 int to_other_file, /* flag: may jump to other file */ | 4372 int to_other_file, /* flag: may jump to other file */ |
4373 int address_count) /* 1 for first address, >1 after comma */ | 4373 int address_count UNUSED) /* 1 for first address, >1 after comma */ |
4374 { | 4374 { |
4375 int c; | 4375 int c; |
4376 int i; | 4376 int i; |
4377 long n; | 4377 long n; |
4378 char_u *cmd; | 4378 char_u *cmd; |
7587 do_arg_all((int)eap->line2, eap->forceit, eap->cmdidx == CMD_drop); | 7587 do_arg_all((int)eap->line2, eap->forceit, eap->cmdidx == CMD_drop); |
7588 } | 7588 } |
7589 #endif /* FEAT_WINDOWS */ | 7589 #endif /* FEAT_WINDOWS */ |
7590 | 7590 |
7591 static void | 7591 static void |
7592 ex_hide(exarg_T *eap) | 7592 ex_hide(exarg_T *eap UNUSED) |
7593 { | 7593 { |
7594 /* ":hide" or ":hide | cmd": hide current window */ | 7594 /* ":hide" or ":hide | cmd": hide current window */ |
7595 #ifdef FEAT_WINDOWS | 7595 #ifdef FEAT_WINDOWS |
7596 if (!eap->skip) | 7596 if (!eap->skip) |
7597 { | 7597 { |