00b67591d2
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:
|
||
---|---|---|
.. | ||
bbdev_app | ||
bond | ||
bpf | ||
cmdline | ||
distributor | ||
ethtool | ||
eventdev_pipeline | ||
fips_validation | ||
flow_classify | ||
flow_filtering | ||
helloworld | ||
ioat | ||
ip_fragmentation | ||
ip_pipeline | ||
ip_reassembly | ||
ipsec-secgw | ||
ipv4_multicast | ||
kni | ||
l2fwd | ||
l2fwd-cat | ||
l2fwd-crypto | ||
l2fwd-event | ||
l2fwd-jobstats | ||
l2fwd-keepalive | ||
l3fwd | ||
l3fwd-acl | ||
l3fwd-graph | ||
l3fwd-power | ||
link_status_interrupt | ||
multi_process | ||
ntb | ||
packet_ordering | ||
performance-thread | ||
pipeline | ||
ptpclient | ||
qos_meter | ||
qos_sched | ||
rxtx_callbacks | ||
server_node_efd | ||
service_cores | ||
skeleton | ||
timer | ||
vdpa | ||
vhost | ||
vhost_blk | ||
vhost_crypto | ||
vm_power_manager | ||
vmdq | ||
vmdq_dcb | ||
meson.build |