mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-21 14:41:42 +00:00
Fix clang build warning
This commit is contained in:
parent
5127088c3f
commit
3f1a8f0e1d
@ -447,7 +447,10 @@ bool FP_LIB_TABLE::IsFootprintLibWritable( const wxString& aNickname )
|
||||
try
|
||||
{
|
||||
const FP_LIB_TABLE_ROW* row = FindRow( aNickname, true );
|
||||
wxCHECK2( row->plugin, false );
|
||||
|
||||
if( !row || !row->plugin )
|
||||
return false;
|
||||
|
||||
return row->plugin->IsLibraryWritable( row->GetFullURI( true ) );
|
||||
}
|
||||
catch( ... )
|
||||
|
Loading…
Reference in New Issue
Block a user