Skip to content

Commit fdc6199

Browse files
Merge pull request #393 from JulienDelacroix/warning
bron_kerbosch_all_cliques: Fix unused parameter/variable warnings
2 parents 4d6a196 + 5c753be commit fdc6199

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/boost/graph/bron_kerbosch_all_cliques.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ struct max_clique_visitor
104104
max_clique_visitor(std::size_t& max) : maximum(max) {}
105105

106106
template < typename Clique, typename Graph >
107-
inline void clique(const Clique& p, const Graph& g)
107+
inline void clique(const Clique& p, const Graph&)
108108
{
109109
BOOST_USING_STD_MAX();
110110
maximum = max BOOST_PREVENT_MACRO_SUBSTITUTION(maximum, p.size());
@@ -220,7 +220,7 @@ namespace detail
220220

221221
// otherwise, iterate over candidates and and test
222222
// for maxmimal cliquiness.
223-
typename Container::iterator i, j;
223+
typename Container::iterator i;
224224
for (i = cands.begin(); i != cands.end();)
225225
{
226226
Vertex candidate = *i;

0 commit comments

Comments
 (0)