diff --git a/qa/drc_proto/drc_engine.cpp b/qa/drc_proto/drc_engine.cpp index 4d2f1cb121..6aca290825 100644 --- a/qa/drc_proto/drc_engine.cpp +++ b/qa/drc_proto/drc_engine.cpp @@ -586,7 +586,13 @@ const test::DRC_CONSTRAINT& test::DRC_ENGINE::EvalRulesForItems( test::DRC_CONST } } - assert(false); // should never hapen + // fixme: return optional, let the particular test decide what to do if no matching constraint + // is found + static test::DRC_CONSTRAINT nullConstraint; + nullConstraint.m_DisallowFlags = 0; + nullConstraint.m_LayerCondition.reset(); + + return nullConstraint; }