mirror of
				https://projects.vdr-developer.org/git/vdr-plugin-tvguide.git
				synced 2023-10-05 13:01:48 +00:00 
			
		
		
		
	Rework cRecManager::DeleteTimer
This commit is contained in:
		| @@ -176,14 +176,14 @@ void cRecManager::SetTimerPath(cTimer *timer, const cEvent *event, std::string p | ||||
| } | ||||
|  | ||||
| void cRecManager::DeleteTimer(int timerID) { | ||||
|     const cTimer *t; | ||||
| #if VDRVERSNUM >= 20301 | ||||
|     cTimer *t; | ||||
|     { | ||||
|     LOCK_TIMERS_WRITE; | ||||
|     LOCK_TIMERS_READ; | ||||
|     t = Timers->Get(timerID); | ||||
|     } | ||||
| #else | ||||
|     cTimer *t = Timers.Get(timerID); | ||||
|     t = Timers.Get(timerID); | ||||
| #endif | ||||
|     if (!t) | ||||
|         return; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user