[dpdk-dev] [PATCH] enic: fix of compile error

2014-12-11 Thread Thomas Monjalon
> Compile warnings/errors was found on gcc 4.7.2 as follows. Variables > was reported of being used but uninitialized. Assigning an initial > value to it is needed. > > lib/librte_pmd_enic/vnic/vnic_dev.c: In function vnic_dev_get_mac_addr: > lib/librte_pmd_enic/vnic/vnic_dev.c:393:16: error: a1 m

[dpdk-dev] [PATCH] enic: fix of compile error

2014-12-09 Thread Helin Zhang
Compile warnings/errors was found on gcc 4.7.2 as follows. Variables was reported of being used but uninitialized. Assigning an initial value to it is needed. lib/librte_pmd_enic/vnic/vnic_dev.c: In function vnic_dev_get_mac_addr: lib/librte_pmd_enic/vnic/vnic_dev.c:393:16: error: a1 may be used u