Thomas Monjalon
ff0633d2b1
app/eventdev: fix possible uninitialized variable
When compiling with -O1, this error can appear: app/test-eventdev/test_pipeline_common.c:332:6: error: ‘ret’ may be used uninitialized in this function If there is no device, then ret is returned without being initialized. It is fixed by setting 0 as initial value. Fixes: 032a965a8f1d ("app/eventdev: support Tx adapter") Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
DPDK is a set of libraries and drivers for fast packet processing. It supports many processor architectures and both FreeBSD and Linux. The DPDK uses the Open Source BSD-3-Clause license for the core libraries and drivers. The kernel components are GPL-2.0 licensed. Please check the doc directory for release notes, API documentation, and sample application information. For questions and usage discussions, subscribe to: users@dpdk.org Report bugs and issues to the development mailing list: dev@dpdk.org
Description
Languages
C
99.1%
Meson
0.5%
Python
0.2%
Shell
0.1%