From f26f774de739628a63756530dbb8db086bda6c74 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Fri, 27 Jul 2018 15:06:33 +0200 Subject: [PATCH] src/driver/record.cpp: avoid possible build error 'unused-but-set-variable' see commit: c074e5f43268022a9f63cb80d67b6166db3fb9e3 --- src/driver/record.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/driver/record.cpp b/src/driver/record.cpp index fc475f8b6..f273a7eb6 100644 --- a/src/driver/record.cpp +++ b/src/driver/record.cpp @@ -1362,13 +1362,13 @@ void CRecordManager::StartTimeshift() std::string tmode = "ptimeshift"; // already recording, pause bool res = true; t_channel_id live_channel_id = CZapit::getInstance()->GetCurrentChannelID(); - bool tstarted = false; +// bool tstarted = false; /* start temporary timeshift if enabled and not running, but dont start second record */ if (g_settings.temp_timeshift) { if (!FindTimeshift()) { res = StartAutoRecord(); tmode = "timeshift"; // record just started - tstarted = true; +// tstarted = true; } } else if (!RecordingStatus(live_channel_id)) {