summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@gmail.com>2011-03-22 12:58:27 +0100
committerChristophe Fergeau <cfergeau@redhat.com>2011-04-08 12:14:20 +0200
commit40316816383650cf9a4b33b43b4373aafe516d33 (patch)
treee8baf0009b03a2ca7df8b2eee24632f4dd7111ed /server
parent086d6fded69b323af0a14276f4b5e9454094dad0 (diff)
downloadspice-40316816383650cf9a4b33b43b4373aafe516d33.tar.gz
spice-40316816383650cf9a4b33b43b4373aafe516d33.tar.xz
spice-40316816383650cf9a4b33b43b4373aafe516d33.zip
server/tests remove useless assignment
This was detected by clang-static-analyzer.
Diffstat (limited to 'server')
-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 2fe1b69c..8db4426e 100644
--- a/server/tests/basic_event_loop.c
+++ b/server/tests/basic_event_loop.c
@@ -302,7 +302,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;