From fdfc940f59057fd9a540ff30b0fc027b3240d30e Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Tue, 22 Mar 2011 12:58:27 +0100 Subject: server/tests remove useless assignment This was detected by clang-static-analyzer. --- server/tests/basic_event_loop.c | 1 - 1 file changed, 1 deletion(-) (limited to 'server') diff --git a/server/tests/basic_event_loop.c b/server/tests/basic_event_loop.c index f6570ff5..1d54ed09 100644 --- a/server/tests/basic_event_loop.c +++ b/server/tests/basic_event_loop.c @@ -300,7 +300,6 @@ void basic_event_loop_mainloop(void) while (1) { FD_ZERO(&rfds); FD_ZERO(&wfds); - watch = (SpiceWatch*)watches.next; i = 0; RING_FOREACH_SAFE(link, next, &watches) { watch = (SpiceWatch*)link; -- cgit