The outer loop will exit too. Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx> --- server/display-channel.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server/display-channel.c b/server/display-channel.c index cb60637..312d971 100644 --- a/server/display-channel.c +++ b/server/display-channel.c @@ -511,7 +511,7 @@ static int current_add_equal(DisplayChannel *display, DrawItem *item, TreeItem * while (worker_ring_item) { for (;;) { if (!worker_ring_item) { - goto out_loop; + break; } dcc = SPICE_CONTAINEROF(worker_ring_item, DisplayChannelClient, common.base.channel_link); @@ -527,7 +527,6 @@ static int current_add_equal(DisplayChannel *display, DrawItem *item, TreeItem * worker_ring_item); } } -out_loop: /* not sending other_drawable where possible */ drawable_remove_from_pipes(other_drawable); -- 2.7.4 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel