From 24a027194ea8818307083396edb76565f41acc92 Mon Sep 17 00:00:00 2001 From: Don Kuntz Date: Thu, 17 Oct 2019 14:49:25 -0500 Subject: [PATCH] Remove unused variable --- pgp/gnupg_finder.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/pgp/gnupg_finder.go b/pgp/gnupg_finder.go index ea813020..4f39a5da 100644 --- a/pgp/gnupg_finder.go +++ b/pgp/gnupg_finder.go @@ -17,8 +17,6 @@ const ( GPG22xPlus GPGVersion = 4 ) -var gpgVersionRegex = regexp.MustCompile(`\(GnuPG\) (\d)\.(\d)`) - // GPGFinder implement search for gpg executables and returns version of discovered executables type GPGFinder interface { FindGPG() (gpg string, version GPGVersion, err error)