Fix gcc warning.

This commit is contained in:
Jeff Young 2023-03-31 23:53:11 +01:00
parent bbd6c80507
commit b80a9014ff
1 changed files with 3 additions and 0 deletions

View File

@ -405,6 +405,9 @@ wxString PCB_TEXT::GetItemDescription( UNITS_PROVIDER* aUnitsProvider ) const
KIUI::EllipsizeMenuText( GetShownText() ), KIUI::EllipsizeMenuText( GetShownText() ),
GetLayerName() ); GetLayerName() );
} }
// Can't get here, but gcc doesn't seem to know that....
return wxEmptyString;
} }