mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 07:51:19 +02:00
src/driver/record.cpp: avoid possible build error 'unused-but-set-variable'
see commit: c074e5f43268022a9f63cb80d67b6166db3fb9e3
This commit is contained in:
@@ -1362,13 +1362,13 @@ void CRecordManager::StartTimeshift()
|
|||||||
std::string tmode = "ptimeshift"; // already recording, pause
|
std::string tmode = "ptimeshift"; // already recording, pause
|
||||||
bool res = true;
|
bool res = true;
|
||||||
t_channel_id live_channel_id = CZapit::getInstance()->GetCurrentChannelID();
|
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 */
|
/* start temporary timeshift if enabled and not running, but dont start second record */
|
||||||
if (g_settings.temp_timeshift) {
|
if (g_settings.temp_timeshift) {
|
||||||
if (!FindTimeshift()) {
|
if (!FindTimeshift()) {
|
||||||
res = StartAutoRecord();
|
res = StartAutoRecord();
|
||||||
tmode = "timeshift"; // record just started
|
tmode = "timeshift"; // record just started
|
||||||
tstarted = true;
|
// tstarted = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (!RecordingStatus(live_channel_id)) {
|
else if (!RecordingStatus(live_channel_id)) {
|
||||||
|
Reference in New Issue
Block a user