[lintian] 01/01: L::C::Binary: Drop unused "or die" due to autodie
This is an automated email from the git hooks/post-receive script.
nthykier pushed a commit to branch master
in repository lintian.
commit f733d0564668efcfb8ac649798f409ef57059dd0
Author: Niels Thykier <niels@thykier.net>
Date: Sat Jan 7 12:21:04 2017 +0000
L::C::Binary: Drop unused "or die" due to autodie
Signed-off-by: Niels Thykier <niels@thykier.net>
---
lib/Lintian/Collect/Binary.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/Lintian/Collect/Binary.pm b/lib/Lintian/Collect/Binary.pm
index 5f8a3fe..0564695 100644
--- a/lib/Lintian/Collect/Binary.pm
+++ b/lib/Lintian/Collect/Binary.pm
@@ -286,7 +286,7 @@ sub strings {
my ($self, $file) = @_;
my $real = $self->_fetch_extracted_dir('strings', 'strings', $file);
if (not -f "${real}.gz") {
- open my $fd, '<', '/dev/null' or fail "open /dev/null: $!";
+ open(my $fd, '<', '/dev/null');
return $fd;
}
my $fd = open_gz("$real.gz");
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: