fixincludes/fixfixes.c: Fix 'set but not used' warning.
authorChristophe Lyon <christophe.lyon@linaro.org>
Fri, 11 Sep 2020 11:58:59 +0000 (11:58 +0000)
committerChristophe Lyon <christophe.lyon@linaro.org>
Thu, 17 Sep 2020 09:36:42 +0000 (09:36 +0000)
commit21138a4e9ba536b46b28c2d6eb2c114ffbadc42a
treed43ff925c1fc742e455d00245b85f094b25c9588
parent6ee9c216532c49e162c80fbbdc011afb184e8973
fixincludes/fixfixes.c: Fix 'set but not used' warning.

pz_tmp_base and pz_tmp_dot are always set, but used only when
_PC_NAME_MAX is defined.

This patch moves their declaration and definition undef #ifdef
_PC_NAME_MAX to avoid this warning.

2020-09-11  Torbjörn SVENSSON  <torbjorn.svensson@st.com>
    Christophe Lyon  <christophe.lyon@linaro.org>

fixincludes/
* fixfixes.c (pz_tmp_base, pz_tmp_dot): Define only with
_PC_NAME_MAX.
fixincludes/fixfixes.c