Fix unused variable warning

This commit is contained in:
Oliver Hamlet
2017-02-06 18:02:17 +00:00
parent 748ecf3b5d
commit 03c8a12e3b
+1 -1
View File
@@ -246,7 +246,7 @@ void PluginSorter::CheckForCycles() const {
bool PluginSorter::EdgeCreatesCycle(const vertex_t& fromVertex, const vertex_t& toVertex) const {
try {
boost::breadth_first_search(graph_, toVertex, visitor(PathDetector(fromVertex)).vertex_index_map(vertexIndexMap_));
} catch (PathFoundException& e) {
} catch (PathFoundException&) {
return true;
}
return false;