diff --git a/src/pfaedle/tests/TestMain.cpp b/src/pfaedle/tests/TestMain.cpp index 4187a9b7..327fafce 100644 --- a/src/pfaedle/tests/TestMain.cpp +++ b/src/pfaedle/tests/TestMain.cpp @@ -238,7 +238,7 @@ int main(int argc, char** argv) { froms.push_back({eB, 0, 0, {}, 0, {}}); tos.push_back({eC, 0, 0, {}, 0, {}}); - LayerCostsDAG initCost{9999, 0}; + LayerCostsDAG initCost{9998, 0}; double maxTime = 9999; diff --git a/src/shapevl/Collector.cpp b/src/shapevl/Collector.cpp index f75e940f..588e40b5 100644 --- a/src/shapevl/Collector.cpp +++ b/src/shapevl/Collector.cpp @@ -194,10 +194,8 @@ std::vector Collector::segmentize( POLYLINE pl(shape); std::vector cuts; - size_t i = 0; for (const auto& st : t->getStopTimes()) { cuts.push_back(st.getShapeDistanceTravelled()); - i++; }