>
> gcc 10.0.1 reports:
>
> ../examples/ipsec-secgw/ipsec_process.c: In function ‘ipsec_process’:
> ../examples/ipsec-secgw/ipsec_process.c:132:34:
> error: ‘grp.m’ may be used uninitialized in this function [-Werror=maybe-
> uninitialized]
> 132 | grp[n].cnt = pkts + i - grp[n].m;
> | ~~~~~~^~
>
> Fix by initializing the array.
>
> Fixes: 3e5f4625dc17 ("examples/ipsec-secgw: make data-path to use IPsec
> library")
> Cc: [email protected]
>
> Signed-off-by: Kevin Traynor <[email protected]>
> ---
> note, commit log violates line length but I didn't want to split warning msg.
>
> Cc: [email protected]
> Cc: Radu Nicolau <[email protected]>
> Cc: Akhil Goyal <[email protected]>
> ---
Acked-by: Akhil Goyal <[email protected]>