From: dvlierop2 Date: Sun, 24 Jun 2007 12:04:12 +0000 (+0000) Subject: assert leads to false negatives X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=06b3fb5b2c9d681ee2ba8894785494898930ec48;p=inkscape.git assert leads to false negatives --- diff --git a/src/knot.cpp b/src/knot.cpp index 3dd84d508..dc5b78b17 100644 --- a/src/knot.cpp +++ b/src/knot.cpp @@ -388,7 +388,6 @@ static int sp_knot_handler(SPCanvasItem *item, GdkEvent *event, SPKnot *knot) if (knot->anchor == GTK_ANCHOR_CENTER) { SnapManager const &m = knot->desktop->namedview->snap_manager; SPItem *curr = knot->desktop->selection->singleItem(); //Is this really the only way to get to the item to which this knot belongs? - g_assert(curr != NULL); motion_dt = m.freeSnap(Inkscape::Snapper::BBOX_POINT | Inkscape::Snapper::SNAP_POINT, motion_dt, curr).getPoint(); }