From a54b43eed6fe398fd5450332e5a210d6f77ae623 Mon Sep 17 00:00:00 2001 From: Klaas de Waal Date: Thu, 21 Dec 2023 09:12:59 +0100 Subject: [PATCH] Fix clang-tidy warnings. --- mythtv/libs/libmythtv/tv_rec.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mythtv/libs/libmythtv/tv_rec.cpp b/mythtv/libs/libmythtv/tv_rec.cpp index 8fd13976a7c..f548eb30e26 100644 --- a/mythtv/libs/libmythtv/tv_rec.cpp +++ b/mythtv/libs/libmythtv/tv_rec.cpp @@ -1081,7 +1081,7 @@ void TVRec::HandleStateChange(void) s_eitLock.lock(); for (auto input : m_eitInputs) { - auto tv_rec = s_inputs.value(input); + auto *tv_rec = s_inputs.value(input); if (tv_rec && tv_rec->m_scanner && tv_rec->HasFlags(kFlagEITScannerRunning)) { LOG(VB_EIT, LOG_INFO, LOC + @@ -1536,7 +1536,7 @@ void TVRec::run(void) { for (auto input : inputids) { - auto tv_rec = s_inputs.value(input); + auto *tv_rec = s_inputs.value(input); if (tv_rec && tv_rec->m_scanner) { conflicting_input = true;