zsh-workers
 help / color / mirror / code / Atom feed
* Another unused function argument in sched.c
@ 2016-01-29 15:06 Jun T.
  2016-02-03 15:17 ` Jun T.
  0 siblings, 1 reply; 3+ messages in thread
From: Jun T. @ 2016-01-29 15:06 UTC (permalink / raw)
  To: zsh-workers

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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-02-03 15:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-29 15:06 Another unused function argument in sched.c Jun T.
2016-02-03 15:17 ` Jun T.
2016-02-03 15:44   ` Peter Stephenson

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).