Codechange: Suppress warnings when asserts are disabled (#8917)
This commit is contained in:
@@ -194,8 +194,7 @@ public:
|
||||
} else {
|
||||
this->SelectFirstAvailableObject(true);
|
||||
}
|
||||
ObjectClass *objclass = ObjectClass::Get(_selected_object_class);
|
||||
assert(objclass->GetUISpecCount() > 0); // object GUI should be disabled elsewise
|
||||
assert(ObjectClass::Get(_selected_object_class)->GetUISpecCount() > 0); // object GUI should be disabled elsewise
|
||||
}
|
||||
|
||||
void SetStringParameters(int widget) const override
|
||||
|
Reference in New Issue
Block a user