summaryrefslogtreecommitdiff
path: root/sofort/ccenv/ccenv.sh
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2020-01-04 00:04:30 +0000
committermidipix <writeonce@midipix.org>2020-01-04 00:07:45 +0000
commit5b278a5355359d41da70eaf676af16e6b77d00f4 (patch)
tree0e19955f3f38a43e97317d2a95747d76bf4bff8c /sofort/ccenv/ccenv.sh
parent0b30f46aa87747f1e4ac0fafc8c429d814954cf2 (diff)
downloadapimagic-5b278a5355359d41da70eaf676af16e6b77d00f4.tar.bz2
apimagic-5b278a5355359d41da70eaf676af16e6b77d00f4.tar.xz
build system: ccenv_set_cc(): initialize ccenv_errors for all code paths.
Diffstat (limited to 'sofort/ccenv/ccenv.sh')
-rw-r--r--sofort/ccenv/ccenv.sh1
1 files changed, 1 insertions, 0 deletions
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)