From dbb7b38bae57a3d1b6e010db397b69268fcebd21 Mon Sep 17 00:00:00 2001 From: Simon Wells Date: Mon, 11 Jan 2016 17:06:11 -0500 Subject: [PATCH] Delete unused variables in GRID_HELPER::AlignToSegment --- pcbnew/tools/grid_helper.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/pcbnew/tools/grid_helper.cpp b/pcbnew/tools/grid_helper.cpp index 4e811caae1..b53fca2b9d 100644 --- a/pcbnew/tools/grid_helper.cpp +++ b/pcbnew/tools/grid_helper.cpp @@ -116,9 +116,6 @@ VECTOR2I GRID_HELPER::AlignToSegment ( const VECTOR2I& aPoint, const SEG& aSeg ) { OPT_VECTOR2I pts[6]; - VECTOR2I origin( GetOrigin() ); - VECTOR2I grid( GetGrid() ); - const VECTOR2D gridOffset( GetOrigin() ); const VECTOR2D gridSize( GetGrid() );