This patch fixes the following build failures seen on Ubuntu 16.04 with gcc 5.4.0 because of uninitialized variables: ... examples/pipeline/cli.c:1559:11: error: 'weight_val' may be used uninitialized in this function [-Werror=maybe-uninitialized] ... examples/pipeline/cli.c:1545:13: error: 'member_id_val' may be used uninitialized in this function [-Werror=maybe-uninitialized] ... examples/pipeline/cli.c:1538:12: error: 'group_id_val' may be used uninitialized in this function [-Werror=maybe-uninitialized] ... examples/pipeline/cli.c:2189:2: error: 'idx1' may be used uninitialized in this function [-Werror=maybe-uninitialized] ... examples/pipeline/cli.c:2179:43: error: 'idx0' may be used uninitialized in this function [-Werror=maybe-uninitialized] ... examples/pipeline/cli.c:2265:2: error: 'idx1' may be used uninitialized in this function [-Werror=maybe-uninitialized] ... examples/pipeline/cli.c:2248:43: error: 'idx0' may be used uninitialized in this function [-Werror=maybe-uninitialized] ... examples/pipeline/cli.c:2358:2: error: 'idx1' may be used uninitialized in this function [-Werror=maybe-uninitialized] ... examples/pipeline/cli.c:2325:43: error: 'idx0' may be used uninitialized in this function [-Werror=maybe-uninitialized] Fixes: 598fe0dd0d8e ("examples/pipeline: support selector table") Signed-off-by: Ali Alnubani <alialnu@nvidia.com> Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
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%