Re: [PATCH 03/13] Decrease scope of some variables

2023-08-03 Thread Claudio Fontana
On 8/3/23 12:36, Michal Privoznik wrote: > There are couple of variables that are declared at function > beginning but then used solely within a block (either for() loop > or if() statement). And just before their use they are zeroed > explicitly using memset(). Decrease their scope, use struct zer

[PATCH 03/13] Decrease scope of some variables

2023-08-03 Thread Michal Privoznik
There are couple of variables that are declared at function beginning but then used solely within a block (either for() loop or if() statement). And just before their use they are zeroed explicitly using memset(). Decrease their scope, use struct zero initializer and drop explicit memset(). Signed