libdtsearch: Resolve uninitialized warnings

This commit is contained in:
Peter Howkins
2021-12-20 23:54:40 +00:00
committed by Jon Trulson
parent 320576e069
commit 182aa9fe5a
5 changed files with 27 additions and 27 deletions

View File

@@ -811,10 +811,10 @@ LOOKUP_ENTRY * *xlu_ptr /* pointer to lookup table slot for found page*/
{
LOOKUP_ENTRY *lookup; /* = db_lookup or ix_lookup */
int pgtab_sz; /* = db_pgtab_sz or ix_pgtab_sz */
long cmp;
long cmp = 0;
int cnt;
int lu_slot, l, u;
LOOKUP_ENTRY *lu_ptr, *replu_ptr;
int lu_slot = 0, l, u;
LOOKUP_ENTRY *lu_ptr = NULL, *replu_ptr;
PAGE_ENTRY *pg_ptr;
int *lru_ptr;
int pg_slot;