From 708bed71dfda6e1a5afe86e6f39ecfd199300d25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Heusipp?= Date: Tue, 24 Sep 2024 07:18:12 +0000 Subject: [PATCH] [Ref] openmpt123: Small cleanup. git-svn-id: https://source.openmpt.org/svn/openmpt/trunk/OpenMPT@21730 56274372-70c3-4bfc-bfc3-4c3a0b034d27 --- openmpt123/openmpt123.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openmpt123/openmpt123.cpp b/openmpt123/openmpt123.cpp index 7a19f36dc9..8c32ce5817 100644 --- a/openmpt123/openmpt123.cpp +++ b/openmpt123/openmpt123.cpp @@ -2188,7 +2188,6 @@ static mpt::uint8 main( std::vector args ) { FILE_mode_guard stdout_text_guard( stdout, FILE_mode::text ); FILE_mode_guard stderr_text_guard( stderr, FILE_mode::text ); - textout_dummy dummy_log; textout_wrapper std_out; textout_wrapper std_err; @@ -2281,6 +2280,7 @@ static mpt::uint8 main( std::vector args ) { [[maybe_unused]] std::optional input_guard{ stdin_text && ( flags.mode == Mode::UI ) ? std::make_optional() : std::nullopt }; // choose text output between quiet/stdout/stderr + textout_dummy dummy_log; textout & log = flags.quiet ? static_cast( dummy_log ) : stdout_text ? static_cast( std_out ) : static_cast( std_err ); show_banner( log, flags.banner );