Oops, need to return.

This commit is contained in:
Jim Derry 2017-10-08 11:19:00 -04:00
parent b967065c36
commit 0548e67fa5

View file

@ -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 )
{