summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@gmail.com>2011-03-22 12:58:27 +0100
committerAlon Levy <alevy@redhat.com>2011-07-21 15:09:27 +0300
commitfdfc940f59057fd9a540ff30b0fc027b3240d30e (patch)
treeea90de1133a700ca59bddaa46e83bdb842877ae7
parente77fc7e8779a63cf8e10ece822192bd81e573183 (diff)
downloadspice-fdfc940f59057fd9a540ff30b0fc027b3240d30e.tar.gz
spice-fdfc940f59057fd9a540ff30b0fc027b3240d30e.tar.xz
spice-fdfc940f59057fd9a540ff30b0fc027b3240d30e.zip
server/tests remove useless assignment
This was detected by clang-static-analyzer.
-rw-r--r--server/tests/basic_event_loop.c1
1 files changed, 0 insertions, 1 deletions
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;