summaryrefslogtreecommitdiffstats
path: root/src/sp-conn-end.cpp
diff options
context:
space:
mode:
authorKris De Gussem <kris.degussem@gmail.com>2012-02-29 20:15:53 +0000
committerKris <Kris.De.Gussem@hotmail.com>2012-02-29 20:15:53 +0000
commitf2aa7dc620e01b4663622f1862f05768ec633f41 (patch)
treeb1bb2611f959d45b239b1c5d0384a1f36fa8a23d /src/sp-conn-end.cpp
parentFix glibmm 2.28 check and guard against inclusion of deprecated gtk headers (diff)
downloadinkscape-f2aa7dc620e01b4663622f1862f05768ec633f41.tar.gz
inkscape-f2aa7dc620e01b4663622f1862f05768ec633f41.zip
cppcheck
added todo warning for sp-conn-end (after devmail message) (bzr r11033)
Diffstat (limited to 'src/sp-conn-end.cpp')
-rw-r--r--src/sp-conn-end.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sp-conn-end.cpp b/src/sp-conn-end.cpp
index 80a1cce33..f8d5694da 100644
--- a/src/sp-conn-end.cpp
+++ b/src/sp-conn-end.cpp
@@ -74,6 +74,8 @@ static bool try_get_intersect_point_with_item_recursive(Geom::PathVector& conn_p
const Geom::PathVector& curve_pv = item_curve->get_pathvector();
Geom::CrossingSet cross = crossings(conn_pv, curve_pv);
// iterate over all Crossings
+ //TODO: check correctness of the following code: inner loop uses loop variable
+ // with a name identical to the loop variable of the outer loop. Then rename.
for (Geom::CrossingSet::const_iterator i = cross.begin(); i != cross.end(); ++i) {
const Geom::Crossings& cr = *i;