summaryrefslogtreecommitdiffstats
path: root/src/object-snapper.cpp
diff options
context:
space:
mode:
authorKris De Gussem <kris.degussem@gmail.com>2016-02-22 20:16:54 +0000
committerKris De Gussem <Kris.De.Gussem@hotmail.com>2016-02-22 20:16:54 +0000
commit4aca329e373b27be4f8171e9f6cf2c8e04d591bc (patch)
tree5701d2888ac16c9469949ab6d0267cc94284dd4e /src/object-snapper.cpp
parentstatic code analysis (diff)
downloadinkscape-4aca329e373b27be4f8171e9f6cf2c8e04d591bc.tar.gz
inkscape-4aca329e373b27be4f8171e9f6cf2c8e04d591bc.zip
static code analysis
(bzr r14665)
Diffstat (limited to 'src/object-snapper.cpp')
-rw-r--r--src/object-snapper.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/object-snapper.cpp b/src/object-snapper.cpp
index 5b7874c61..3e559ee7a 100644
--- a/src/object-snapper.cpp
+++ b/src/object-snapper.cpp
@@ -641,7 +641,6 @@ void Inkscape::ObjectSnapper::_snapPathsConstrained(IntermSnapResults &isr,
bool strict_snapping = _snapmanager->snapprefs.getStrictSnapping();
// Find all intersections of the constrained path with the snap target candidates
- std::vector<Geom::Point> intersections;
for (std::vector<SnapCandidatePath >::const_iterator k = _paths_to_snap_to->begin(); k != _paths_to_snap_to->end(); ++k) {
if (k->path_vector && _allowSourceToSnapToTarget(p.getSourceType(), (*k).target_type, strict_snapping)) {
// Do the intersection math