Skip to content

Commit

Permalink
Fix unitialized warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jcameron committed Feb 18, 2014
1 parent ef33723 commit 9aab054
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion acl/edit_group.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ my @mlist = &list_module_infos();
my %has = map { $_, 1 } @{$group{'modules'}};
my @links = ( &select_all_link("mod", 0, $text{'edit_selall'}),
&select_invert_link("mod", 0, $text{'edit_invert'}) );
my @cats = &unique(map { $_->{'category'} } @mlist);
my @cats = &unique(map { $_->{'category'} || "" } @mlist);
my %catnames;
&read_file("$config_directory/webmin.catnames", \%catnames);
my $grids = "";
Expand Down
2 changes: 1 addition & 1 deletion acl/edit_user.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ my @mlist = grep { $access{'others'} || $has{$_->{'dir'}} ||
$mcan{$_->{'dir'}} } &list_module_infos();
my @links = ( &select_all_link("mod", 0, $text{'edit_selall'}),
&select_invert_link("mod", 0, $text{'edit_invert'}) );
my @cats = &unique(map { $_->{'category'} } @mlist);
my @cats = &unique(map { $_->{'category'} || "" } @mlist);
my %catnames;
&read_file("$config_directory/webmin.catnames", \%catnames);
my $grids = "";
Expand Down

0 comments on commit 9aab054

Please sign in to comment.