Re: [PATCH 1/6] contrib/plugins/execlog: fix warning

2024-08-16 Thread Alexandre IOOSS
On 8/15/24 01:36, Pierrick Bouvier wrote: Found on debian stable. ../contrib/plugins/execlog.c: In function ‘vcpu_tb_trans’: ../contrib/plugins/execlog.c:236:22: error: declaration of ‘n’ shadows a previous local [-Werror=shadow=local] 236 | for (int n = 0; n < all_reg_names->len

Re: [PATCH 1/6] contrib/plugins/execlog: fix warning

2024-08-15 Thread Thomas Huth
On 15/08/2024 01.36, Pierrick Bouvier wrote: Found on debian stable. ../contrib/plugins/execlog.c: In function ‘vcpu_tb_trans’: ../contrib/plugins/execlog.c:236:22: error: declaration of ‘n’ shadows a previous local [-Werror=shadow=local] 236 | for (int n = 0; n < all_reg_names->

[PATCH 1/6] contrib/plugins/execlog: fix warning

2024-08-14 Thread Pierrick Bouvier
Found on debian stable. ../contrib/plugins/execlog.c: In function ‘vcpu_tb_trans’: ../contrib/plugins/execlog.c:236:22: error: declaration of ‘n’ shadows a previous local [-Werror=shadow=local] 236 | for (int n = 0; n < all_reg_names->len; n++) { | ^ ../co