diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2020-01-28 16:00:25 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2020-01-28 16:00:25 +0000 |
commit | bf24fcb94861323722999874eaa68e55898838c6 (patch) | |
tree | 8585a051c886dccbed55659f5611c03935acd6c8 | |
parent | 5bd9fa5125033e094911c8a4b73ed4a2b1598e01 (diff) |
banish implicit return
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/State.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/State.pm b/usr.sbin/pkg_add/OpenBSD/State.pm index c38ffa38dc4..676acea307f 100644 --- a/usr.sbin/pkg_add/OpenBSD/State.pm +++ b/usr.sbin/pkg_add/OpenBSD/State.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: State.pm,v 1.63 2019/12/04 10:45:19 espie Exp $ +# $OpenBSD: State.pm,v 1.64 2020/01/28 16:00:24 espie Exp $ # # Copyright (c) 2007-2014 Marc Espie <espie@openbsd.org> # @@ -23,7 +23,7 @@ package OpenBSD::PackageRepositoryFactory; sub new { my ($class, $state) = @_; - bless {state => $state}, $class; + return bless {state => $state}, $class; } sub locator |