Mod: remove some more superfluous Boolean checks

This commit is contained in:
Uwe
2022-07-19 02:40:59 +02:00
parent 93796e2d92
commit 003757176c
3 changed files with 3 additions and 3 deletions

View File

@@ -7671,7 +7671,7 @@ std::string SketchObject::validateExpression(const App::ObjectIdentifier &path,
{
const App::Property * prop = path.getProperty();
assert(expr != nullptr);
assert(expr);
if (!prop)
return "Property not found";