mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-11-15 23:11:26 +01:00
unposted: add/remove UNUSED() for some function parameters
This commit is contained in:
parent
309d899507
commit
2b81d4be32
6 changed files with 9 additions and 5 deletions
|
|
@ -233,7 +233,7 @@ bin_zuntie(char *nam, char **args, Options ops, UNUSED(int func))
|
|||
|
||||
/**/
|
||||
static int
|
||||
bin_zgdbmpath(char *nam, char **args, Options ops, UNUSED(int func))
|
||||
bin_zgdbmpath(char *nam, char **args, UNUSED(Options ops), UNUSED(int func))
|
||||
{
|
||||
Param pm;
|
||||
char *pmname;
|
||||
|
|
|
|||
|
|
@ -652,7 +652,7 @@ chmod_dochmod(char *arg, char *rp, UNUSED(struct stat const *sp), void *magic)
|
|||
|
||||
/**/
|
||||
static int
|
||||
bin_chmod(char *nam, char **args, Options ops, int func)
|
||||
bin_chmod(char *nam, char **args, Options ops, UNUSED(int func))
|
||||
{
|
||||
struct chmodmagic chm;
|
||||
char *str = args[0], *ptr;
|
||||
|
|
|
|||
|
|
@ -188,7 +188,7 @@ enables_(Module m, int **enables)
|
|||
|
||||
/**/
|
||||
int
|
||||
boot_(Module m)
|
||||
boot_(UNUSED(Module m))
|
||||
{
|
||||
addhookfunc("get_color_attr", (Hookfn) getnearestcolor);
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue