Remove some gcc-warnings.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1871 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -104,7 +104,7 @@ _hashtabdel(Hashtab * htab, void *ptr, int freep)
|
||||
if (h) {
|
||||
if (freep)
|
||||
free(h->ptr);
|
||||
if (*(h->prev) = h->next)
|
||||
if ((*(h->prev) = h->next))
|
||||
h->next->prev = h->prev;
|
||||
free(h);
|
||||
return 0;
|
||||
@@ -167,7 +167,7 @@ hashjpw(const char *ss)
|
||||
|
||||
for (; *s; ++s) {
|
||||
h = (h << TWELVE) + *s;
|
||||
if (g = h & HIGH_BITS)
|
||||
if ((g = h & HIGH_BITS))
|
||||
h = (h ^ (g >> SEVENTYFIVE)) & ~HIGH_BITS;
|
||||
}
|
||||
return h;
|
||||
|
Reference in New Issue
Block a user