summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Nienhüser <nienhueser@kde.org>2016-09-03 15:14:48 (GMT)
committerDennis Nienhüser <nienhueser@kde.org>2016-09-03 15:14:48 (GMT)
commit85ff00bcdd42dc1667349cc6d2d56941dd8863a8 (patch)
tree112ba4dd22cdcc8e7c8b135bae9ec6e5bd98524d
parent247b9531954c6677f5467d42846a826c7c680f44 (diff)
Compile
-rw-r--r--tools/osm-simplify/NodeReducer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/osm-simplify/NodeReducer.cpp b/tools/osm-simplify/NodeReducer.cpp
index 0daa81b..f0523ef 100644
--- a/tools/osm-simplify/NodeReducer.cpp
+++ b/tools/osm-simplify/NodeReducer.cpp
@@ -81,7 +81,7 @@ GeoDataLineString* NodeReducer::reduce(GeoDataLineString* lineString){
reducedLine = new GeoDataLinearRing;
} else {
Q_ASSERT(false && "Unexpected GeoDataLineString subtype");
- return;
+ return nullptr;
}