diff options
author | Christophe Lyon <christophe.lyon@linaro.org> | 2020-09-11 11:58:59 +0000 |
---|---|---|
committer | Christophe Lyon <christophe.lyon@linaro.org> | 2020-09-17 09:36:42 +0000 |
commit | 21138a4e9ba536b46b28c2d6eb2c114ffbadc42a (patch) | |
tree | d43ff925c1fc742e455d00245b85f094b25c9588 /gcc/function.c | |
parent | 6ee9c216532c49e162c80fbbdc011afb184e8973 (diff) | |
download | gcc-21138a4e9ba536b46b28c2d6eb2c114ffbadc42a.zip gcc-21138a4e9ba536b46b28c2d6eb2c114ffbadc42a.tar.gz gcc-21138a4e9ba536b46b28c2d6eb2c114ffbadc42a.tar.bz2 |
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.
Diffstat (limited to 'gcc/function.c')
0 files changed, 0 insertions, 0 deletions