summaryrefslogtreecommitdiff
path: root/test/run_decoder.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2016-09-05 12:05:54 +0200
committerMax Kellermann <max@musicpd.org>2016-09-09 15:16:47 +0200
commit6ed77f2a27c332218a7144606af90404ba433397 (patch)
tree7956e951258cbeff5e410dae5bc8689c50ca3304 /test/run_decoder.cxx
parenta73688a2be74ee6b5e68bfafa8d84e6cfe00bf5d (diff)
input/Plugin: migrate init() from class Error to C++ exceptions
Diffstat (limited to 'test/run_decoder.cxx')
-rw-r--r--test/run_decoder.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/run_decoder.cxx b/test/run_decoder.cxx
index 1d689a3d2..19abf0e7e 100644
--- a/test/run_decoder.cxx
+++ b/test/run_decoder.cxx
@@ -50,10 +50,7 @@ try {
const ScopeIOThread io_thread;
Error error;
- if (!input_stream_global_init(error)) {
- LogError(error);
- return EXIT_FAILURE;
- }
+ input_stream_global_init();
decoder_plugin_init_all();