From 03c8a12e3b9621e985360476e1287af9b6d7c83b Mon Sep 17 00:00:00 2001 From: Oliver Hamlet Date: Sat, 28 Jan 2017 22:20:36 +0000 Subject: [PATCH] Fix unused variable warning --- src/backend/plugin/plugin_sorter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/plugin/plugin_sorter.cpp b/src/backend/plugin/plugin_sorter.cpp index 544fc999..44e537a1 100644 --- a/src/backend/plugin/plugin_sorter.cpp +++ b/src/backend/plugin/plugin_sorter.cpp @@ -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;