mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 23:13:13 +02:00
Remove pointer checks for char arrays (can never be null)
This commit is contained in:
@@ -1728,8 +1728,7 @@ int CTimerList::modifyTimer()
|
|||||||
);
|
);
|
||||||
if (!modified && timer->eventType == CTimerd::TIMER_RECORD)
|
if (!modified && timer->eventType == CTimerd::TIMER_RECORD)
|
||||||
{
|
{
|
||||||
if (timer->recordingDir && t_old.recordingDir)
|
modified = strcmp(timer->recordingDir, t_old.recordingDir);
|
||||||
modified = strcmp(timer->recordingDir, t_old.recordingDir);
|
|
||||||
if (!modified)
|
if (!modified)
|
||||||
modified = (
|
modified = (
|
||||||
t_old_apids_dflt != timer_apids_dflt
|
t_old_apids_dflt != timer_apids_dflt
|
||||||
|
Reference in New Issue
Block a user