From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19863 invoked by alias); 29 Jan 2016 15:07:01 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 37839 Received: (qmail 23906 invoked from network); 29 Jan 2016 15:07:00 -0000 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: From: "Jun T." 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 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.