Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
examples/ip_pipeline: fix build with GCC 13
[ upstream commit aae10e97710eb3b6a43a61e733ca0bbff47ab0c4 ] 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: a8bd581 ("examples/ip_pipeline: add thread runtime") Signed-off-by: Jerin Jacob <jerinj@marvell.com> Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Tested-by: Ali Alnubani <alialnu@nvidia.com> Tested-by: Daxue Gao <daxuex.gao@intel.com>
- Loading branch information