From 907bd31236a1b9ce11702cbd1ec792a07d74ab60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz?= Date: Mon, 30 Apr 2018 11:26:08 +0200 Subject: Correctly (zero-)initialise all locals. --- subr/pkg_fetch_extract.subr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'subr/pkg_fetch_extract.subr') diff --git a/subr/pkg_fetch_extract.subr b/subr/pkg_fetch_extract.subr index 1ab1e4f0..0afa837e 100644 --- a/subr/pkg_fetch_extract.subr +++ b/subr/pkg_fetch_extract.subr @@ -3,7 +3,7 @@ # pkg_fetch_extract() { - local _oldpwd; + local _oldpwd=""; if [ -n "${PKG_URL}" ]\ && [ "${PKG_URL_TYPE:-wget}" = wget ]; then _oldpwd="${PWD}"; ex_rtl_fileop cd "${PKG_BASE_DIR}"; -- cgit v1.2.3