diff --git a/src/driver/record.cpp b/src/driver/record.cpp index 9d2801cef..44589e831 100644 --- a/src/driver/record.cpp +++ b/src/driver/record.cpp @@ -1053,7 +1053,7 @@ bool CRecordManager::ShowMenu(void) bool CRecordManager::AskToStop(const t_channel_id channel_id) { - int recording_id; + int recording_id = 0; std::string title; mutex.lock();