mirror of
https://github.com/boostorg/graph.git
synced 2026-02-28 05:22:24 +00:00
avoid warning about un-init var
[SVN r10955]
This commit is contained in:
@@ -138,7 +138,7 @@ namespace boost {
|
||||
detail::error_property_not_found)
|
||||
{
|
||||
std::vector<default_color_type> color_vec(num_vertices(g));
|
||||
default_color_type c;
|
||||
default_color_type c = white_color; // avoid warning about un-init
|
||||
dfs_impl(g, vis,
|
||||
make_iterator_property_map
|
||||
(color_vec.begin(),
|
||||
|
||||
Reference in New Issue
Block a user