From 9cbb8f3bb8f7c39e133c6910f40ec2b03ccd8847 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Fri, 30 Dec 2011 01:02:44 +0100 Subject: [PATCH] Remove unused "time_t now" from Lists_Check() MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This fixes: lists.c: In function ‘Lists_Check’: lists.c:330:9: warning: variable ‘now’ set but not used --- src/ngircd/lists.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/ngircd/lists.c b/src/ngircd/lists.c index 27a51dca..d3f26e2e 100644 --- a/src/ngircd/lists.c +++ b/src/ngircd/lists.c @@ -327,13 +327,11 @@ bool Lists_Check( struct list_head *h, CLIENT *Client) { struct list_elem *e, *last, *next; - time_t now; assert(h != NULL); e = h->first; last = NULL; - now = time(NULL); while (e) { next = e->next; -- 2.39.2