[Gui] remove superfluous nullptr checks
This commit is contained in:
@@ -137,7 +137,7 @@ SoFCUnifiedSelection::~SoFCUnifiedSelection()
|
||||
{
|
||||
// If we're being deleted and we're the current highlight,
|
||||
// NULL out that variable
|
||||
if (currenthighlight != nullptr) {
|
||||
if (currenthighlight) {
|
||||
currenthighlight->unref();
|
||||
currenthighlight = nullptr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user