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/build_args.subr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'subr/build_args.subr') diff --git a/subr/build_args.subr b/subr/build_args.subr index ea6eabf7..a483c99f 100644 --- a/subr/build_args.subr +++ b/subr/build_args.subr @@ -26,7 +26,7 @@ BUILD_ARGS_SPEC=" ARG_XTRACE:-x:"; build_args() { - local _spec="${BUILD_ARGS_SPEC}" _spec_arg _found; + local _spec="${BUILD_ARGS_SPEC}" _spec_arg="" _found=""; while [ ${#} -gt 0 ]; do if [ "${1#-}" = "${1}" ]; then break; -- cgit v1.2.3