[lintian] 01/01: c/menu-format.pm: Remove unused "or die" - autodie covers it
This is an automated email from the git hooks/post-receive script.
nthykier pushed a commit to branch master
in repository lintian.
commit 93cdfcaf1a7bad36da72263e2212d8f9bd7846a2
Author: Niels Thykier <niels@thykier.net>
Date: Mon Oct 27 22:36:42 2014 +0100
c/menu-format.pm: Remove unused "or die" - autodie covers it
Signed-off-by: Niels Thykier <niels@thykier.net>
---
checks/menu-format.pm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/checks/menu-format.pm b/checks/menu-format.pm
index 7f4c5b9..1e64d7f 100644
--- a/checks/menu-format.pm
+++ b/checks/menu-format.pm
@@ -540,11 +540,11 @@ sub verify_icon {
tag 'menu-icon-too-big', "$icon: ${width}x${height} > ${size}x${size}";
}
- close($fd) or die;
+ close($fd);
return;
parse_error:
- close($fd) or die;
+ close($fd);
tag 'menu-icon-cannot-be-parsed', "$icon: looking for $parse";
return;
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: