diff --git a/common/geometry/shape_collisions.cpp b/common/geometry/shape_collisions.cpp index a5dbbfa258..25a611600a 100644 --- a/common/geometry/shape_collisions.cpp +++ b/common/geometry/shape_collisions.cpp @@ -373,11 +373,9 @@ bool SHAPE_RECT::Collide( const SEG& aSeg, int aClearance ) const { SEG s( vts[i], vts[i + 1], i ); - int64_t dist = s.Distance( aSeg ); - if( s.Distance( aSeg ) < aClearance ) return true; } return false; - } \ No newline at end of file + } diff --git a/common/pgm_base.cpp b/common/pgm_base.cpp index f4c8f86e96..e423fbae37 100644 --- a/common/pgm_base.cpp +++ b/common/pgm_base.cpp @@ -61,7 +61,6 @@ const wxChar PGM_BASE::workingDirKey[] = wxT( "WorkingDir" ); // public static const wxChar languageCfgKey[] = wxT( "LanguageID" ); -static const wxChar kicadFpLibPath[] = wxT( "KicadFootprintLibraryPath" ); static const wxChar pathEnvVariables[] = wxT( "EnvironmentVariables" ); static const wxChar showEnvVarWarningDialog[] = wxT( "ShowEnvVarWarningDialog" ); static const wxChar traceEnvVars[] = wxT( "KIENVVARS" );