[dpdk-dev] [PATCH v4 2/2] cmdline: make struct rdline opaque

Stephen Hemminger stephen at networkplumber.org
Tue Oct 5 22:42:13 CEST 2021


On Tue,  5 Oct 2021 23:15:45 +0300
Dmitry Kozlyuk <dmitry.kozliuk at gmail.com> wrote:

> +++ b/app/test/test_cmdline_lib.c
> @@ -83,18 +83,19 @@ test_cmdline_parse_fns(void)
>  static int
>  test_cmdline_rdline_fns(void)
>  {
> -	struct rdline rdl;
> +	struct rdline *rdl = NULL;

Very minor nit. The variable does not need to be initialized
since first statement assigns the value.


More information about the dev mailing list