2
0
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:
Jeremy Siek
2001-08-28 22:17:56 +00:00
parent f1218f29c1
commit 78221a7d9d

View File

@@ -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(),