From b8b6e895ff700bca4f00dc5171cde5ee0cd7f4f6 Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Mon, 30 Jan 2023 15:08:40 -0500 Subject: [PATCH] MT#56493 fix compiler warning The "done" label is also used when the output is already open and established, therefore the log message should go above it. Change-Id: Iceb218a8cffeb42de302324374c790c46557d985 --- recording-daemon/output.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recording-daemon/output.c b/recording-daemon/output.c index 6076df89d..172b5f350 100644 --- a/recording-daemon/output.c +++ b/recording-daemon/output.c @@ -281,8 +281,8 @@ got_fn: goto err; db_config_stream(output); -done: ilog(LOG_INFO, "Opened output media file '%s' for writing", full_fn); +done: if (actual_format) *actual_format = output->actual_format; return 0;