mirror of
https://github.com/osmarks/ngircd.git
synced 2025-06-28 16:13:06 +00:00
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
This commit is contained in:
parent
e19ce437ca
commit
9cbb8f3bb8
@ -327,13 +327,11 @@ bool
|
|||||||
Lists_Check( struct list_head *h, CLIENT *Client)
|
Lists_Check( struct list_head *h, CLIENT *Client)
|
||||||
{
|
{
|
||||||
struct list_elem *e, *last, *next;
|
struct list_elem *e, *last, *next;
|
||||||
time_t now;
|
|
||||||
|
|
||||||
assert(h != NULL);
|
assert(h != NULL);
|
||||||
|
|
||||||
e = h->first;
|
e = h->first;
|
||||||
last = NULL;
|
last = NULL;
|
||||||
now = time(NULL);
|
|
||||||
|
|
||||||
while (e) {
|
while (e) {
|
||||||
next = e->next;
|
next = e->next;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user