From ada5274b28351c1c9d9c76ebe822593f22b54bdf Mon Sep 17 00:00:00 2001 From: Chris Pavlina Date: Fri, 26 Jun 2015 19:29:01 -0400 Subject: [PATCH] Remove some unused variables. --- common/geometry/shape_collisions.cpp | 4 +--- common/pgm_base.cpp | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) 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" );