We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Using bron_kerbosch_all_cliques results in an unused variable warning
bron_kerbosch_all_cliques
/usr/local/include/boost/graph/bron_kerbosch_all_cliques.hpp:227:41: error: unused variable 'j' [-Werror,-Wunused-variable] typename Container::iterator i, j; ^ /usr/local/include/boost/graph/bron_kerbosch_all_cliques.hpp:289:13: note: in instantiation of function template specialization 'boost::detail::extend_clique<boost::adjacency_matrix<boost::undirectedS, unsigned long, octopus::Phred<double, void>, boost::no_property, std::__1::allocator<bool> >, std::__1::deque<unsigned long, std::__1::allocator<unsigned long> >, std::__1::vector<unsigned long, std::__1::allocator<unsigned long> >, octopus::MaxCliqueVisitor<boost::adjacency_matrix<boost::undirectedS, unsigned long, octopus::Phred<double, void>, boost::no_property, std::__1::allocator<bool> > > >' requested here detail::extend_clique(g, clique, cands, nots, vis, min); ^ /usr/local/include/boost/graph/bron_kerbosch_all_cliques.hpp:297:3: note: in instantiation of function template specialization 'boost::bron_kerbosch_all_cliques<boost::adjacency_matrix<boost::undirectedS, unsigned long, octopus::Phred<double, void>, boost::no_property, std::__1::allocator<bool> >, octopus::MaxCliqueVisitor<boost::adjacency_matrix<boost::undirectedS, unsigned long, octopus::Phred<double, void>, boost::no_property, std::__1::allocator<bool> > > >' requested here { bron_kerbosch_all_cliques(g, vis, 2); }
Looks like j can simply be removed?
j
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Using
bron_kerbosch_all_cliques
results in an unused variable warningLooks like
j
can simply be removed?The text was updated successfully, but these errors were encountered: