summaryrefslogtreecommitdiff
path: root/searchtimer_thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'searchtimer_thread.c')
-rw-r--r--searchtimer_thread.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/searchtimer_thread.c b/searchtimer_thread.c
index 76e7509..1d1fcb4 100644
--- a/searchtimer_thread.c
+++ b/searchtimer_thread.c
@@ -253,10 +253,7 @@ void cSearchTimerThread::Action(void)
searchExt = localSearchExts->Next(searchExt);
continue;
}
- {
- LOCK_TIMERS_READ;
- pOutdatedTimers = searchExt->GetTimerList(Timers, pOutdatedTimers);
- } // End of Block should release ReadLock
+ pOutdatedTimers = searchExt->GetTimerList(pOutdatedTimers);
cSearchResults* pSearchResults = searchExt->Run(-1, true);
if (!pSearchResults)
@@ -310,8 +307,7 @@ void cSearchTimerThread::Action(void)
// search for an already existing timer
bool bTimesMatchExactly = false;
- const cTimer *t = NULL;
- t = GetTimer(searchExt, pEvent, bTimesMatchExactly);
+ const cTimer *t = GetTimer(searchExt, pEvent, bTimesMatchExactly);
char* Summary = NULL;
uint timerMod = tmNoChange;