Permalink
Browse files

Silence a warning

  • Loading branch information...
1 parent 52a7d08 commit b20d985641ea7d54a10e4f52dbee49734b5dca8f @tadzik tadzik committed Apr 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/ufo
View
@@ -187,7 +187,7 @@ sub topo-sort(@modules, %dependencies) {
sub dfs-visit($module) {
%color_of{$module} = 'visited';
for %dependencies{$module}.list -> $used {
- if %color_of{$used} eq 'not yet visited' {
+ if (%color_of{$used} // '') eq 'not yet visited' {
dfs-visit($used);
}
}

0 comments on commit b20d985

Please sign in to comment.