table: fix maybe-uninitialized variable with gcc lto
authorDennis Marinus <dmarinus@amazon.com>
Tue, 2 Dec 2014 00:39:06 +0000 (16:39 -0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 2 Dec 2014 11:34:09 +0000 (12:34 +0100)
commite77339f4003c492062c04fd168d7dd732b48a16b
tree79b122a9420d7f28ca4b124b86ca3c24d4dfc40e
parentc1aa5e44e6fb45211e69c20f2be554ab96aab276
table: fix maybe-uninitialized variable with gcc lto

This patch fixes a maybe-uninitialized warning when compiling DPDK with
GCC 4.9 + Link Time Optimization.

Signed-off-by: Dennis Marinus <dmarinus@amazon.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
lib/librte_table/rte_table_lpm.c