From: espie Date: Mon, 22 May 2023 12:05:57 +0000 (+0000) Subject: gc unused/old code X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=7a7a47b68446f4d34a2a9a279d6ce9334a388739;p=openbsd gc unused/old code --- diff --git a/usr.sbin/pkg_add/OpenBSD/PkgCheck.pm b/usr.sbin/pkg_add/OpenBSD/PkgCheck.pm index d42c36bc337..c64ae758a1f 100644 --- a/usr.sbin/pkg_add/OpenBSD/PkgCheck.pm +++ b/usr.sbin/pkg_add/OpenBSD/PkgCheck.pm @@ -1,7 +1,7 @@ #! /usr/bin/perl # ex:ts=8 sw=4: -# $OpenBSD: PkgCheck.pm,v 1.77 2023/05/21 16:07:35 espie Exp $ +# $OpenBSD: PkgCheck.pm,v 1.78 2023/05/22 12:05:57 espie Exp $ # # Copyright (c) 2003-2014 Marc Espie # @@ -379,10 +379,6 @@ sub handle_options } } -sub build_tag -{ -} - sub destdir { my ($self, $path) = @_; diff --git a/usr.sbin/pkg_add/OpenBSD/PkgCreate.pm b/usr.sbin/pkg_add/OpenBSD/PkgCreate.pm index 0efe93814cf..9d66d56f5f9 100644 --- a/usr.sbin/pkg_add/OpenBSD/PkgCreate.pm +++ b/usr.sbin/pkg_add/OpenBSD/PkgCreate.pm @@ -1,6 +1,6 @@ #! /usr/bin/perl # ex:ts=8 sw=4: -# $OpenBSD: PkgCreate.pm,v 1.188 2023/05/21 16:07:35 espie Exp $ +# $OpenBSD: PkgCreate.pm,v 1.189 2023/05/22 12:05:57 espie Exp $ # # Copyright (c) 2003-2014 Marc Espie # @@ -1823,9 +1823,6 @@ sub parse_and_run { my ($self, $cmd) = @_; - my $sign_only = 0; - my $rc = 0; - my $state = OpenBSD::PkgCreate::State->new($cmd); $state->handle_options;