Acked-by: Chengwen Feng <[email protected]>

On 1/28/2026 7:58 PM, Thomas Monjalon wrote:
> This error is seen in build of type "minsize":
> 
> In function 'parse_args', lib/argparse/rte_argparse.c:764:31: error:
> 'arg_idx' may be used uninitialized [-Werror=maybe-uninitialized]
>   764 |                 if (arg_parsed[arg_idx] && !arg_attr_flag_multi(arg)) 
> {
>       |                               ^
> 
> It looks to be a compiler issue because we are not supposed
> to reach this point in case of find_option_arg() failure.
> 
> The variable is initialized to allow compiling with "minsize" option.
> 
> Signed-off-by: Thomas Monjalon <[email protected]>


Reply via email to