Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm
Precedence: bulk
X-No-Archive: yes
List-Id: Zsh Workers List <zsh-workers.zsh.org>
List-Post: <mailto:zsh-workers@zsh.org>
List-Help: <mailto:zsh-workers-help@zsh.org>
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham
	autolearn_force=no version=3.4.0
X-Biglobe-Sender: <takimoto-j@kba.biglobe.ne.jp>
From: "Jun T." <takimoto-j@kba.biglobe.ne.jp>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Subject: Another unused function argument in sched.c
Message-Id: <42271C6F-3808-421A-B9DB-A66AE7CFFBA9@kba.biglobe.ne.jp>
Date: Sat, 30 Jan 2016 00:06:57 +0900
To: zsh-workers@zsh.org
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\))
X-Mailer: Apple Mail (2.1878.6)
X-Biglobe-Spnum: 52846
X-Seq: zsh-workers 37839

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.

