diff options
author | pmichaud <pmichaud@pobox.com> | 2012-07-26 12:00:36 -0500 |
---|---|---|
committer | pmichaud <pmichaud@pobox.com> | 2012-07-26 12:00:36 -0500 |
commit | 15129cd72115d52be87399f2f574764eddeac169 (patch) | |
tree | 245a1ab32cb90bf577337ad0349389c41a08bbed /skel | |
parent | 24a8fcd368452709c682a6cf09fbe98e381384bb (diff) |
Avoid "use of uninitialized ..." warnings during module-install.
Diffstat (limited to 'skel')
-rw-r--r-- | skel/tools/build/module-install.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/skel/tools/build/module-install.pl b/skel/tools/build/module-install.pl index 8cbc20b..8d69c78 100644 --- a/skel/tools/build/module-install.pl +++ b/skel/tools/build/module-install.pl @@ -103,6 +103,7 @@ sub dfs_visit { my $order = shift; $color_of->{$module} = 'visited'; for my $used (@{$dependencies->{$module}}) { + $color_of->{$used} ||= ''; if ($color_of->{$used} eq 'not yet visited') { dfs_visit($used, $color_of, $dependencies, $order); } |