diff options
author | Kent R. Spillner <kspillner@cvs.openbsd.org> | 2014-08-27 18:45:58 +0000 |
---|---|---|
committer | Kent R. Spillner <kspillner@cvs.openbsd.org> | 2014-08-27 18:45:58 +0000 |
commit | 53030bb9f9eb02d91aa30fb3783bd810dc720cbd (patch) | |
tree | 3ed5a12f48b23d330380c634d02ea67c91513564 /regress | |
parent | 279bad13bec0e6a0b5d90848d924a76ce6342af5 (diff) |
Remove $_ usage that warns under Perl 5.18.
Yep espie@
Diffstat (limited to 'regress')
-rwxr-xr-x | regress/usr.sbin/pkg_add/check-sig | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/regress/usr.sbin/pkg_add/check-sig b/regress/usr.sbin/pkg_add/check-sig index 56059214f90..f737a16d1e7 100755 --- a/regress/usr.sbin/pkg_add/check-sig +++ b/regress/usr.sbin/pkg_add/check-sig @@ -1,5 +1,5 @@ #! /usr/bin/perl -# $OpenBSD: check-sig,v 1.2 2010/01/10 12:41:20 espie Exp $ +# $OpenBSD: check-sig,v 1.3 2014/08/27 18:45:57 kspillner Exp $ # Written by Marc Espie # Public domain @@ -8,7 +8,6 @@ use OpenBSD::PackingList; sub mycode { my ($fh, $cont) = @_; - my $_; while (<$fh>) { return if m/^__END__/; &$cont($_); |