git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
table: fix maybe-uninitialized variable with gcc lto
[dpdk.git]
/
lib
/
librte_table
/
rte_table_lpm.c
diff --git
a/lib/librte_table/rte_table_lpm.c
b/lib/librte_table/rte_table_lpm.c
index
59f87bb
..
cf92619
100644
(file)
--- a/
lib/librte_table/rte_table_lpm.c
+++ b/
lib/librte_table/rte_table_lpm.c
@@
-185,7
+185,7
@@
rte_table_lpm_entry_add(
struct rte_table_lpm_key *ip_prefix = (struct rte_table_lpm_key *) key;
uint32_t nht_pos, nht_pos0_valid;
int status;
- uint8_t nht_pos0;
+ uint8_t nht_pos0
= 0
;
/* Check input parameters */
if (lpm == NULL) {