7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-21 00:21:25 +00:00

minor compil warning fix

This commit is contained in:
jean-pierre charras 2025-03-14 15:01:01 +01:00
parent d3c05c7ccd
commit 2210fc3518

View File

@ -3763,7 +3763,7 @@ void PCB_IO_KICAD_SEXPR_PARSER::parseTextBoxContent( PCB_TEXTBOX* aTextBox )
break;
case T_knockout:
if( PCB_TABLECELL* cell = dynamic_cast<PCB_TABLECELL*>( aTextBox ) )
if( [[maybe_unused]] PCB_TABLECELL* cell = dynamic_cast<PCB_TABLECELL*>( aTextBox ) )
{
Expecting( "locked, start, pts, angle, width, margins, layer, effects, span, "
"render_cache, uuid or tstamp" );