qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] tests: check the error of _thread_new
@ 2015-06-26 14:13 Marc-André Lureau
  0 siblings, 0 replies; only message in thread
From: Marc-André Lureau @ 2015-06-26 14:13 UTC (permalink / raw)
  To: qemu-devel; +Cc: Marc-André Lureau

Mainly for completeness.

Signed-off-by: Marc-André Lureau <marcandre.lureau@gmail.com>
---
 tests/vhost-user-test.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/vhost-user-test.c b/tests/vhost-user-test.c
index 75fedf0..509437b 100644
--- a/tests/vhost-user-test.c
+++ b/tests/vhost-user-test.c
@@ -198,6 +198,7 @@ static GThread *_thread_new(const gchar *name, GThreadFunc func, gpointer data)
 #else
     thread = g_thread_create(func, data, TRUE, &error);
 #endif
+    g_assert_no_error(error);
     return thread;
 }
 
-- 
2.4.3

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-06-26 14:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-26 14:13 [Qemu-devel] [PATCH] tests: check the error of _thread_new Marc-André Lureau

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).