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 Alon Levy
parent e77fc7e877
commit fdfc940f59

View File

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