mirror of
https://projects.vdr-developer.org/git/vdr-plugin-tvguide.git
synced 2023-10-05 15:01:48 +02:00
Cosmetic changes
This commit is contained in:
parent
e476e0e8c0
commit
82fb45a088
@ -769,7 +769,7 @@ const cEvent **cRecManager::WhatsOnNow(bool nowOrNext, int &numResults) {
|
||||
#if VDRVERSNUM >= 20301
|
||||
LOCK_SCHEDULES_READ;
|
||||
LOCK_CHANNELS_READ;
|
||||
const cChannels* channels = Channels;
|
||||
// const cChannels* channels = Channels;
|
||||
const cSchedules* schedules = Schedules;
|
||||
#else
|
||||
cSchedulesLock schedulesLock;
|
||||
@ -846,7 +846,7 @@ const cEvent **cRecManager::UserDefinedTime(int userTime, int &numResults) {
|
||||
#if VDRVERSNUM >= 20301
|
||||
LOCK_CHANNELS_READ;
|
||||
LOCK_SCHEDULES_READ;
|
||||
const cChannels* channels = Channels;
|
||||
// const cChannels* channels = Channels;
|
||||
const cSchedules* schedules = Schedules;
|
||||
#else
|
||||
cSchedulesLock schedulesLock;
|
||||
|
@ -562,7 +562,7 @@ void cRecMenuItemSelect::DrawValue(void) {
|
||||
}
|
||||
|
||||
eRecMenuState cRecMenuItemSelect::ProcessKey(eKeys Key) {
|
||||
int oldValue = currentVal;
|
||||
// int oldValue = currentVal;
|
||||
switch (Key & ~k_Repeat) {
|
||||
case kLeft:
|
||||
currentVal--;
|
||||
@ -664,7 +664,7 @@ void cRecMenuItemSelectDirectory::DrawValue(void) {
|
||||
}
|
||||
|
||||
eRecMenuState cRecMenuItemSelectDirectory::ProcessKey(eKeys Key) {
|
||||
int oldValue = currentVal;
|
||||
// int oldValue = currentVal;
|
||||
switch (Key & ~k_Repeat) {
|
||||
case kLeft:
|
||||
currentVal--;
|
||||
@ -1901,7 +1901,7 @@ void cRecMenuItemEvent::Show(void) {
|
||||
}
|
||||
|
||||
eRecMenuState cRecMenuItemEvent::ProcessKey(eKeys Key) {
|
||||
bool consumed = false;
|
||||
// bool consumed = false;
|
||||
switch (Key & ~k_Repeat) {
|
||||
case kOk:
|
||||
return action;
|
||||
|
@ -411,7 +411,7 @@ cRecMenuConfirmRerunUsed::cRecMenuConfirmRerunUsed(const cEvent *original, const
|
||||
// --- cRecMenuEditTimer ---------------------------------------------------------
|
||||
#if VDRVERSNUM >= 20301
|
||||
cRecMenuEditTimer::cRecMenuEditTimer(const cTimer *timer, eRecMenuState nextState) {
|
||||
const cTimer *originalTimer;
|
||||
// const cTimer *originalTimer;
|
||||
#else
|
||||
cRecMenuEditTimer::cRecMenuEditTimer(cTimer *timer, eRecMenuState nextState) {
|
||||
#endif
|
||||
@ -1429,7 +1429,7 @@ void cRecMenuTimeline::GetTimersForDay(void) {
|
||||
timersToday.clear();
|
||||
#if VDRVERSNUM >= 20301
|
||||
LOCK_TIMERS_READ;
|
||||
const cTimers* timers = Timers;
|
||||
// const cTimers* timers = Timers;
|
||||
for (const cTimer *t = Timers->First(); t; t = Timers->Next(t)) {
|
||||
#else
|
||||
for (cTimer *t = Timers.First(); t; t = Timers.Next(t)) {
|
||||
|
@ -80,8 +80,8 @@ void cTVGuideTimerConflicts::AddConflict(std::string epgSearchConflictLine) {
|
||||
|
||||
void cTVGuideTimerConflicts::CalculateConflicts(void) {
|
||||
numConflicts = conflicts.size();
|
||||
time_t startTime = 0;
|
||||
time_t endTime = 0;
|
||||
// time_t startTime = 0;
|
||||
// time_t endTime = 0;
|
||||
for (int i=0; i < numConflicts; i++) {
|
||||
cTimeInterval *unionSet = NULL;
|
||||
int numTimers = conflicts[i]->timerIDs.size();
|
||||
|
2
tools.c
2
tools.c
@ -463,7 +463,7 @@ int afuzzy_checkSUB(const char *t, AFUZZY *fuzzy)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int afuzzy_checkFLT(const char *t, AFUZZY *fuzzy)
|
||||
int afuzzy_checkFLT(const char *t, AFUZZY *fuzzy)
|
||||
{
|
||||
register Uint FilterR = 0;
|
||||
register Uint FilterR1;
|
||||
|
2
tools.h
2
tools.h
@ -65,7 +65,7 @@ typedef struct
|
||||
void afuzzy_init(const char *p, int kerr, int UseFilter, AFUZZY *fuzzy);
|
||||
void afuzzy_free(AFUZZY *fuzzy);
|
||||
int afuzzy_checkSUB(const char *t, AFUZZY *fuzzy);
|
||||
static int afuzzy_checkFLT(const char *t, AFUZZY *fuzzy);
|
||||
int afuzzy_checkFLT(const char *t, AFUZZY *fuzzy);
|
||||
#endif
|
||||
|
||||
#endif // __TVGUIDETOOLS_H
|
Loading…
Reference in New Issue
Block a user