From c519de7d75f2492b07bfb3e90f3a7f3daacaeeed Mon Sep 17 00:00:00 2001
From: midipix <writeonce@midipix.org>
Date: Sat, 4 Jan 2020 00:04:30 +0000
Subject: build system: ccenv_set_cc(): initialize ccenv_errors for all code
 paths.

---
 sofort/ccenv/ccenv.sh | 1 +
 1 file changed, 1 insertion(+)

(limited to 'sofort/ccenv')

diff --git a/sofort/ccenv/ccenv.sh b/sofort/ccenv/ccenv.sh
index 200564c..ef7a957 100644
--- a/sofort/ccenv/ccenv.sh
+++ b/sofort/ccenv/ccenv.sh
@@ -404,6 +404,7 @@ ccenv_set_cc()
 	fi
 
 	ccenv_cc_cmd="$ccenv_cc"
+	ccenv_errors=
 
 	if [ "$ccenv_cfgtype" = 'native' ]; then
 		ccenv_host=$($ccenv_cc $(printf '%s' "$ccenv_cflags") -dumpmachine 2>&3)
-- 
cgit v1.2.3