From b85ab2a4ab846572948da98b0881bb4c87df142e Mon Sep 17 00:00:00 2001 From: Hendi Date: Mon, 23 Jan 2023 23:32:35 +0100 Subject: [PATCH] Remove pointer checks for char arrays (can never be null) --- src/gui/timerlist.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/gui/timerlist.cpp b/src/gui/timerlist.cpp index 7c3b9506e..5f3b0340d 100644 --- a/src/gui/timerlist.cpp +++ b/src/gui/timerlist.cpp @@ -1728,8 +1728,7 @@ int CTimerList::modifyTimer() ); 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) modified = ( t_old_apids_dflt != timer_apids_dflt