eal/linux: fix uninitialized value
The value is not used, but some static analyzers may give out a warning. Fix it by assigning default value of zero. Bugzilla ID: 58 Fixes: cdc242f260e7 ("eal/linux: support running as unprivileged user") Cc: stable@dpdk.org Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
This commit is contained in:
parent
462dd3722e
commit
96712b33af
@ -66,7 +66,7 @@ static bool phys_addrs_available = true;
|
||||
static void
|
||||
test_phys_addrs_available(void)
|
||||
{
|
||||
uint64_t tmp;
|
||||
uint64_t tmp = 0;
|
||||
phys_addr_t physaddr;
|
||||
|
||||
if (!rte_eal_has_hugepages()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user