From 5c753bedae6ca27702534d6be5e7db6bf3620f18 Mon Sep 17 00:00:00 2001 From: Julien DELACROIX Date: Thu, 31 Oct 2024 17:27:35 +0100 Subject: [PATCH] Fix unused parameter/variable warnings --- include/boost/graph/bron_kerbosch_all_cliques.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/graph/bron_kerbosch_all_cliques.hpp b/include/boost/graph/bron_kerbosch_all_cliques.hpp index e0f862e83..28bc10f28 100644 --- a/include/boost/graph/bron_kerbosch_all_cliques.hpp +++ b/include/boost/graph/bron_kerbosch_all_cliques.hpp @@ -104,7 +104,7 @@ struct max_clique_visitor max_clique_visitor(std::size_t& max) : maximum(max) {} template < typename Clique, typename Graph > - inline void clique(const Clique& p, const Graph& g) + inline void clique(const Clique& p, const Graph&) { BOOST_USING_STD_MAX(); maximum = max BOOST_PREVENT_MACRO_SUBSTITUTION(maximum, p.size()); @@ -220,7 +220,7 @@ namespace detail // otherwise, iterate over candidates and and test // for maxmimal cliquiness. - typename Container::iterator i, j; + typename Container::iterator i; for (i = cands.begin(); i != cands.end();) { Vertex candidate = *i;