summaryrefslogtreecommitdiffhomepage
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:49 +0000
commitd7b6739e0802964c22c9cfa238dea63f875c5ef9 (patch)
tree9aa35d3d9db22e8c9dc4161b1888a9246340f4dc
parenta8f1884d448a63ff82a4d3439b568d0333e79894 (diff)
downloadslibtool-d7b6739e0802964c22c9cfa238dea63f875c5ef9.tar.bz2
slibtool-d7b6739e0802964c22c9cfa238dea63f875c5ef9.tar.xz
build system: ccenv_set_cc(): initialize ccenv_errors for all code paths.
-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)