Browse Source

Fix clang build warning

pcb_db
JamesJCode 2 years ago
parent
commit
3f1a8f0e1d
  1. 5
      common/fp_lib_table.cpp

5
common/fp_lib_table.cpp

@ -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…
Cancel
Save