Skip to content

Commit

Permalink
Prevent uninitialized variable warning in File::BaseDir
Browse files Browse the repository at this point in the history
  • Loading branch information
SPFabGerman committed May 28, 2022
1 parent d40620d commit 8519aee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/File/MimeInfo/Applications.pm
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ sub _write_list {
}

sub _find_file {
my @list = shift;
my @list = @_;
for (@list) {
my $file = data_files('applications', $_);
return File::DesktopEntry->new($file) if $file;
Expand Down

0 comments on commit 8519aee

Please sign in to comment.