repo: ngircd action: commit revision: path_from: revision_from: 9cbb8f3bb8f7c39e133c6910f40ec2b03ccd8847: path_to: revision_to:
commit 9cbb8f3bb8f7c39e133c6910f40ec2b03ccd8847 Author: Alexander BartonDate: Fri Dec 30 01:02:44 2011 +0100 Remove unused "time_t now" from Lists_Check() This fixes: lists.c: In function ‘Lists_Check’: lists.c:330:9: warning: variable ‘now’ set but not used diff --git a/src/ngircd/lists.c b/src/ngircd/lists.c
--- 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;
-----END OF PAGE-----