fixed LINT issue

This commit is contained in:
2017-03-20 19:24:29 +01:00
parent 3a83f5bdc9
commit 18f48e23a8

View File

@@ -166,6 +166,11 @@ namespace Floorplan {
static void checkStair(Issues& res, const Floor* floor, const Stair* stair) {
if (stair->getParts().empty()) {
res.push_back(Issue(Type::ERROR, floor, "stair does not contain any parts! [empty stair]"));
return;
}
const std::vector<Floorplan::StairPart> parts = stair->getParts();
const std::vector<Floorplan::Quad3> quads = Floorplan::getQuads(parts, floor);