tests: check the error of _thread_new
PATCH 1/1 tests: check the error of _thread_new
Mainly for completeness.
Signed-off-by Marc-André Lureau <[email protected]>
--- tests/vhost-user-test.c | 1 + 1 file changed, 1 insertion(+)
tests/vhost-user-test.c +1 -0
@@ -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; }
Signature · 1 line
2.4.3