aboutsummaryrefslogtreecommitdiffstats
path: root/vppinfra
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2016-02-29 09:45:08 -0500
committerDave Barach <dave@barachs.net>2016-02-29 09:45:28 -0500
commit8a4a781e965656c1037f1fb0563d0c93847b11c5 (patch)
treec26af22d3c08a1c5e572952ebd68218d7bf5e602 /vppinfra
parent802c7fae4d3376440eda31973ddac6770c7565c3 (diff)
-O3 warnings be gone
Note that compiling -O3 doesn't improve performance as of this writing, might as well clean up warnings in any event. Change-Id: Ic2f4982d12fbbf36f5324075183982731759dc94 Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'vppinfra')
-rw-r--r--vppinfra/vppinfra/pfhash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vppinfra/vppinfra/pfhash.c b/vppinfra/vppinfra/pfhash.c
index 7946b5e7833..4bea0682e10 100644
--- a/vppinfra/vppinfra/pfhash.c
+++ b/vppinfra/vppinfra/pfhash.c
@@ -337,7 +337,7 @@ static pfhash_kv_t * pfhash_get_internal (pfhash_t * p, u32 bucket_contents,
u64 pfhash_get (pfhash_t * p, u32 bucket, void * key)
{
pfhash_kv_t *kv;
- u32 match_index;
+ u32 match_index=~0;
pfhash_kv_16_t * kv16;
pfhash_kv_8_t * kv8;
pfhash_kv_8v8_t * kv8v8;