summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/2geom/toposweep.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/2geom/toposweep.cpp b/src/2geom/toposweep.cpp
index 9316669f5..4da3f6922 100644
--- a/src/2geom/toposweep.cpp
+++ b/src/2geom/toposweep.cpp
@@ -53,7 +53,7 @@ TopoGraph::Edge TopoGraph::remove_edge(unsigned ix, unsigned jx) {
}
}
assert(0);
- return Edge; // if assert is disabled, return empty Edge.
+ return v[0]; // if assert is disabled, return first Edge.
}
void TopoGraph::cannonize() {