Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Jun 2018 16:20:36 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r471268 - head/Mk/Scripts
Message-ID:  <201806011620.w51GKaVh003953@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mat
Date: Fri Jun  1 16:20:36 2018
New Revision: 471268
URL: https://svnweb.freebsd.org/changeset/ports/471268

Log:
  SC2034: <some var> appears unused. Verify it or export it.
  
  Variables not used for anything are often associated with bugs, so
  ShellCheck warns about them.
  
  PR:		227109
  Submitted by:	mat
  Sponsored by:	Absolight

Modified:
  head/Mk/Scripts/functions.sh   (contents, props changed)

Modified: head/Mk/Scripts/functions.sh
==============================================================================
--- head/Mk/Scripts/functions.sh	Fri Jun  1 16:20:33 2018	(r471267)
+++ head/Mk/Scripts/functions.sh	Fri Jun  1 16:20:36 2018	(r471268)
@@ -160,7 +160,7 @@ validate_env() {
 }
 
 export_ports_env() {
-	local export_vars make_cmd make_env var results value uses
+	local export_vars make_cmd make_env var value uses
 
 	if [ -n "${HAVE_PORTS_ENV:-}" ]; then
 		return 0



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806011620.w51GKaVh003953>