Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix unused parameter/variable warnings #393

Merged
merged 1 commit into from
Nov 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading