diff options
| author | Alexander Barton <alex@barton.de> | 2011-12-30 01:02:44 +0100 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2011-12-30 01:03:59 +0100 |
| commit | 9cbb8f3bb8f7c39e133c6910f40ec2b03ccd8847 (patch) | |
| tree | 7f7d25ee478af51944f781776b87eec4163e4961 /src | |
| parent | e19ce437cadca5697a052ade944118a42709eabd (diff) | |
| download | ngircd-9cbb8f3bb8f7c39e133c6910f40ec2b03ccd8847.tar.gz ngircd-9cbb8f3bb8f7c39e133c6910f40ec2b03ccd8847.zip | |
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
Diffstat (limited to 'src')
| -rw-r--r-- | src/ngircd/lists.c | 2 |
1 files changed, 0 insertions, 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; |