From 4db119c01b1c9a10a070a2b23a3d43ca2dc722c5 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 3 Sep 2013 11:28:47 +0200 Subject: IOThread: use FatalError() on g_thread_create() error New GLib versions don't fail. --- src/Main.cxx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/Main.cxx') diff --git a/src/Main.cxx b/src/Main.cxx index 56f5b2c07..e724ebdb5 100644 --- a/src/Main.cxx +++ b/src/Main.cxx @@ -480,11 +480,7 @@ int mpd_main(int argc, char *argv[]) SignalHandlersInit(*main_loop); - if (!io_thread_start(&error)) { - g_warning("%s", error->message); - g_error_free(error); - return EXIT_FAILURE; - } + io_thread_start(); ZeroconfInit(*main_loop); -- cgit v1.2.3