Skip to content

Commit

Permalink
Is. #921 - Remove duplicate message output
Browse files Browse the repository at this point in the history
  • Loading branch information
geoffmcl committed Mar 3, 2021
1 parent 9edbb0a commit 2a22b40
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -1581,7 +1581,10 @@ Bool ParsePickList( TidyDocImpl* doc, const TidyOptionImpl* entry )
return yes;
}

TY_(ReportBadArgument)( doc, entry->name );
/* Is. #921 - this service calls 'GetParsePickListValue', which already emits
* 'ReportBadArgument' if it fails, so eliminate this duplicate call
* TY_(ReportBadArgument)( doc, entry->name );
*/
return no;
}

Expand Down

0 comments on commit 2a22b40

Please sign in to comment.