Oops, need to return.
This commit is contained in:
parent
b967065c36
commit
0548e67fa5
|
@ -1350,7 +1350,10 @@ void TY_(DefineSquelchedMessage)(TidyDocImpl* doc, const TidyOptionImpl* opt, ct
|
|||
tidyStrings message = TY_(tidyErrorCodeFromKey)( name );
|
||||
|
||||
if ( message <= REPORT_MESSAGE_FIRST || message >= REPORT_MESSAGE_LAST)
|
||||
{
|
||||
TY_(Report)( doc, NULL, NULL, STRING_ARGUMENT_BAD, opt->name, name );
|
||||
return;
|
||||
}
|
||||
|
||||
if ( !list->list )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue