Re: [PATCH] fixincludes/fixfixes.c: Fix 'set but not used' warning.

2020-09-17 Thread Christophe Lyon via Gcc-patches
On Thu, 17 Sep 2020 at 06:16, Jeff Law wrote: > > > On 9/11/20 6:21 AM, Christophe Lyon via Gcc-patches wrote: > > 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 a

Re: [PATCH] fixincludes/fixfixes.c: Fix 'set but not used' warning.

2020-09-16 Thread Jeff Law via Gcc-patches
On 9/11/20 6:21 AM, Christophe Lyon via Gcc-patches wrote: > 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 >

[PATCH] fixincludes/fixfixes.c: Fix 'set but not used' warning.

2020-09-11 Thread Christophe Lyon via Gcc-patches
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 Christophe Lyon fixincludes/ * fixfixes.c (pz_tmp_ba