server/tests remove useless assignment

This was detected by clang-static-analyzer.
This commit is contained in:
Christophe Fergeau 2011-03-22 12:58:27 +01:00 committed by Christophe Fergeau
parent 086d6fded6
commit 4031681638

View File

@ -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;