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. --- test/dump_text_file.cxx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'test/dump_text_file.cxx') diff --git a/test/dump_text_file.cxx b/test/dump_text_file.cxx index 8a8f9e77f..165a6493c 100644 --- a/test/dump_text_file.cxx +++ b/test/dump_text_file.cxx @@ -116,11 +116,7 @@ int main(int argc, char **argv) config_global_init(); io_thread_init(); - if (!io_thread_start(&error)) { - g_warning("%s", error->message); - g_error_free(error); - return EXIT_FAILURE; - } + io_thread_start(); #ifdef ENABLE_ARCHIVE archive_plugin_init_all(); -- cgit v1.2.3