Skip to content

Commit

Permalink
Merge pull request #393 from JulienDelacroix/warning
Browse files Browse the repository at this point in the history
bron_kerbosch_all_cliques: Fix unused parameter/variable warnings
  • Loading branch information
jeremy-murphy authored Nov 1, 2024
2 parents 4d6a196 + 5c753be commit fdc6199
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/boost/graph/bron_kerbosch_all_cliques.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit fdc6199

Please sign in to comment.