Fix null pointer use
This commit is contained in:
parent
fd4a96d8be
commit
652a59b781
|
@ -82,7 +82,8 @@ bool DRC_RULE_CONDITION::Compile( REPORTER* aReporter, int aSourceLine, int aSou
|
|||
first,
|
||||
rest );
|
||||
|
||||
aReporter->Report( msg, RPT_SEVERITY_ERROR );
|
||||
if( aReporter )
|
||||
aReporter->Report( msg, RPT_SEVERITY_ERROR );
|
||||
};
|
||||
|
||||
PCB_EXPR_COMPILER compiler;
|
||||
|
|
Loading…
Reference in New Issue