[Spice-devel] [PATCH 1/6] red_worker: replace some abort()

Frediano Ziglio fziglio at redhat.com
Thu Oct 15 03:54:20 PDT 2015


From: Marc-André Lureau <marcandre.lureau at gmail.com>

---
 server/red_worker.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/server/red_worker.c b/server/red_worker.c
index babb597..538911d 100644
--- a/server/red_worker.c
+++ b/server/red_worker.c
@@ -12275,5 +12275,6 @@ SPICE_GNUC_NORETURN void *red_worker_main(void *arg)
         }
         red_push(worker);
     }
-    abort();
+
+    spice_warn_if_reached();
 }
-- 
2.4.3



More information about the Spice-devel mailing list