diff options
author | Max Kellermann <max@duempel.org> | 2013-09-03 11:28:47 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-09-03 11:28:47 +0200 |
commit | 4db119c01b1c9a10a070a2b23a3d43ca2dc722c5 (patch) | |
tree | 3f28777c86cd588df4c29569afe17d0f803fb10b /test/visit_archive.cxx | |
parent | bbd711556476d5ef3510678a5e525974821803b2 (diff) |
IOThread: use FatalError() on g_thread_create() error
New GLib versions don't fail.
Diffstat (limited to 'test/visit_archive.cxx')
-rw-r--r-- | test/visit_archive.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/test/visit_archive.cxx b/test/visit_archive.cxx index d6ed0c6a1..047ef4d6d 100644 --- a/test/visit_archive.cxx +++ b/test/visit_archive.cxx @@ -77,11 +77,7 @@ 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(); archive_plugin_init_all(); |