On Tue, May 2, 2023 at 3:51 PM <[email protected]> wrote:
>
> From: Jerin Jacob <[email protected]>
>
> Fix the following build issue by initializing req to NULL for
> the local variable.
>
> In function 'thread_msg_handle', inlined from 'thread_main' at
> ../examples/ip_pipeline/thread.c:3130:6:
> ../examples/ip_pipeline/thread.c:535:20: warning: 'req' may be used
> uninitialized [-Wmaybe-uninitialized]
>   535 |                 if (req == NULL)
>       |                    ^
> ../examples/ip_pipeline/thread.c: In function 'thread_main':
> ../examples/ip_pipeline/thread.c:433:32: note: 'req' was declared here
>   433 |         struct thread_msg_req *req;
>
> Bugzilla ID: 1220
> Fixes: a8bd581de397 ("examples/ip_pipeline: add thread runtime")
> Cc: [email protected]
>
> Signed-off-by: Jerin Jacob <[email protected]>
Acked-by: Cristian Dumitrescu <[email protected]>
Tested-by: Ali Alnubani <[email protected]>
Tested-by: Daxue Gao <[email protected]>

Applied, thanks.


-- 
David Marchand

Reply via email to