aboutsummaryrefslogtreecommitdiffstats
path: root/test/run_decoder.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-09-03 11:28:47 +0200
committerMax Kellermann <max@duempel.org>2013-09-03 11:28:47 +0200
commit4db119c01b1c9a10a070a2b23a3d43ca2dc722c5 (patch)
tree3f28777c86cd588df4c29569afe17d0f803fb10b /test/run_decoder.cxx
parentbbd711556476d5ef3510678a5e525974821803b2 (diff)
downloadmpd-4db119c01b1c9a10a070a2b23a3d43ca2dc722c5.tar.gz
mpd-4db119c01b1c9a10a070a2b23a3d43ca2dc722c5.tar.xz
mpd-4db119c01b1c9a10a070a2b23a3d43ca2dc722c5.zip
IOThread: use FatalError() on g_thread_create() error
New GLib versions don't fail.
Diffstat (limited to '')
-rw-r--r--test/run_decoder.cxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/test/run_decoder.cxx b/test/run_decoder.cxx
index 85f7c4455..c7ef92cf8 100644
--- a/test/run_decoder.cxx
+++ b/test/run_decoder.cxx
@@ -163,11 +163,7 @@ int main(int argc, char **argv)
g_log_set_default_handler(my_log_func, NULL);
io_thread_init();
- if (!io_thread_start(&error)) {
- g_warning("%s", error->message);
- g_error_free(error);
- return EXIT_FAILURE;
- }
+ io_thread_start();
if (!input_stream_global_init(&error)) {
g_warning("%s", error->message);