summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2014-05-11 21:13:23 +0000
committerJohan B. C. Engelen <j.b.c.engelen@alumnus.utwente.nl>2014-05-11 21:13:23 +0000
commitc8162ae7a5692e0aa91de4c08fa4bd8a47cc54a8 (patch)
tree4c6221c2d6f8671cdab616c12164fb4accc1a766 /src
parentfix btool for 64-bit compilation. (would run into infinite loop on line 2404) (diff)
downloadinkscape-c8162ae7a5692e0aa91de4c08fa4bd8a47cc54a8.tar.gz
inkscape-c8162ae7a5692e0aa91de4c08fa4bd8a47cc54a8.zip
fix 2geom build for newer compilers (assert can be disabled/overridden, i suppose)
(bzr r13355)
Diffstat (limited to 'src')
-rw-r--r--src/2geom/toposweep.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/2geom/toposweep.cpp b/src/2geom/toposweep.cpp
index cfb91857c..9316669f5 100644
--- a/src/2geom/toposweep.cpp
+++ b/src/2geom/toposweep.cpp
@@ -53,6 +53,7 @@ TopoGraph::Edge TopoGraph::remove_edge(unsigned ix, unsigned jx) {
}
}
assert(0);
+ return Edge; // if assert is disabled, return empty Edge.
}
void TopoGraph::cannonize() {