From 217b46e625b14a7e8c7a955d8596c9664bc8b138 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Mon, 16 Dec 2013 17:19:18 +0100 Subject: [PATCH] CComponentsFrmClock: remove statement stopThread() is doing check against NULL itself Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/2b65f1d1b36badbb9efc00c3757e7043ffc83531 Author: Thilo Graf Date: 2013-12-16 (Mon, 16 Dec 2013) --- src/gui/components/cc_frm_clock.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/gui/components/cc_frm_clock.cpp b/src/gui/components/cc_frm_clock.cpp index e329ed275..b40e34601 100644 --- a/src/gui/components/cc_frm_clock.cpp +++ b/src/gui/components/cc_frm_clock.cpp @@ -86,8 +86,7 @@ void CComponentsFrmClock::initVarClock( const int& x_pos, const int& y_pos, cons CComponentsFrmClock::~CComponentsFrmClock() { - if (activeClock) - stopThread(); + stopThread(); } void CComponentsFrmClock::initTimeString()