diff --git a/qa/drc_proto/drc_rule.cpp b/qa/drc_proto/drc_rule.cpp index 729e514d15..f864dba51e 100644 --- a/qa/drc_proto/drc_rule.cpp +++ b/qa/drc_proto/drc_rule.cpp @@ -90,8 +90,7 @@ bool test::DRC_RULE_CONDITION::Compile( REPORTER* aReporter, int aSourceLine, in { PCB_EXPR_COMPILER compiler; - if (!m_ucode) - m_ucode.reset( new PCB_EXPR_UCODE ); + m_ucode.reset( new PCB_EXPR_UCODE ); PCB_EXPR_CONTEXT preflightContext( F_Cu );