[Gui] remove superfluous nullptr checks
This commit is contained in:
@@ -263,7 +263,7 @@ ControlSingleton& ControlSingleton::instance(void)
|
||||
|
||||
void ControlSingleton::destruct (void)
|
||||
{
|
||||
if (_pcSingleton != nullptr)
|
||||
if (_pcSingleton)
|
||||
delete _pcSingleton;
|
||||
_pcSingleton = nullptr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user