Fix GCC warning

This commit is contained in:
Jon Evans 2022-08-30 18:48:18 -04:00
parent b736460e71
commit 570f4fe4a9
1 changed files with 1 additions and 1 deletions

View File

@ -524,7 +524,7 @@ void SCH_SEXPR_PARSER::parseFill( FILL_PARAMS& aFill )
void SCH_SEXPR_PARSER::parseEDA_TEXT( EDA_TEXT* aText, bool aConvertOverbarSyntax ) void SCH_SEXPR_PARSER::parseEDA_TEXT( EDA_TEXT* aText, bool aConvertOverbarSyntax )
{ {
wxCHECK_RET( aText && CurTok() == T_effects || CurTok() == T_href, wxCHECK_RET( aText && ( CurTok() == T_effects || CurTok() == T_href ),
"Cannot parse " + GetTokenString( CurTok() ) + " as an EDA_TEXT." ); "Cannot parse " + GetTokenString( CurTok() ) + " as an EDA_TEXT." );
// In version 20210606 the notation for overbars was changed from `~...~` to `~{...}`. // In version 20210606 the notation for overbars was changed from `~...~` to `~{...}`.