libdtsvc: Resolve Uninitialized warnings

This commit is contained in:
Peter Howkins
2021-12-19 04:06:45 +00:00
committed by Jon Trulson
parent 35e94e3878
commit b807066429
11 changed files with 15 additions and 16 deletions

View File

@@ -110,12 +110,12 @@ GetTableIndex(
#endif /* NeedWidePrototypes */
{
DtHashEntry *entries = tab->entries;
int len, idx, i, rehash = 0;
int len = 0, idx, i, rehash = 0;
char c;
Signature sig = 0;
DtHashEntry entry;
String s1, s2;
DtHashKey compKey;
DtHashKey compKey = NULL;
if (tab->keyIsString) {
s1 = (String)key;