[TD] App: remove some superfluous nullptr checks
This commit is contained in:
@@ -50,7 +50,7 @@ PyObject* DrawViewSymbolPy::dumpSymbol(PyObject *args)
|
||||
}
|
||||
auto dvs = getDrawViewSymbolPtr();
|
||||
std::string symbolRepr;
|
||||
if (dvs != nullptr) {
|
||||
if (dvs) {
|
||||
symbolRepr = dvs->Symbol.getValue();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user