Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Another unused function argument in sched.c
- X-seq: zsh-workers 37839
- From: "Jun T." <takimoto-j@xxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Another unused function argument in sched.c
- Date: Sat, 30 Jan 2016 00:06:57 +0900
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
In function schedaddtimed(time_t t) (Src/Builtins/sched.c, line 61)
the argument 't' is not used.
When this function is called (4 times in this file), the argument is
always equal to schedcmds->time, so the function should work fine.
But it would better to either modify line 72 to use 't',
or remove the argument from the function.
# I don't know which is better.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author