Kill lots of warnings in DtSvc.

This commit is contained in:
Pascal Stumpf
2013-07-21 22:55:09 +02:00
committed by Jon Trulson
parent 0d7568e843
commit 8f98ac92cd
42 changed files with 275 additions and 185 deletions

View File

@@ -119,7 +119,7 @@ GetTableIndex(
if (tab->keyIsString) {
s1 = (String)key;
for (s2 = (char *)s1; c = *s2++; )
for (s2 = (char *)s1; (c = *s2++); )
sig = (sig << 1) + c;
len = s2 - s1 - 1;
}
@@ -127,7 +127,7 @@ GetTableIndex(
sig = (Signature)key;
idx = HASH(tab, sig);
while (entry = entries[idx]) {
while ((entry = entries[idx])) {
if (entries[idx] == &DtHashfake) {
if (new)
return idx;