mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-27 09:58:45 +01:00
cleanup
This commit is contained in:
parent
5309da9845
commit
0cb217496e
1 changed files with 5 additions and 4 deletions
|
@ -83,7 +83,7 @@ augmentHash( XP_U32 hash, const XP_U8* ptr, XP_U16 len )
|
|||
}
|
||||
|
||||
static XP_U32
|
||||
finshHash( XP_U32 hash )
|
||||
finishHash( XP_U32 hash )
|
||||
{
|
||||
hash += (hash << 3);
|
||||
hash ^= (hash >> 11);
|
||||
|
@ -143,10 +143,11 @@ stack_getHash( StackCtxt* stack )
|
|||
// XP_LOGF( "hash after %d: %.8X", nn, (unsigned int)hash );
|
||||
}
|
||||
XP_ASSERT( 0 != hash );
|
||||
// LOG_RETURNF( "%.8X", (unsigned int)hash );
|
||||
#endif
|
||||
return finshHash( hash );
|
||||
}
|
||||
hash = finishHash( hash );
|
||||
// LOG_RETURNF( "%s: %.8X", __func__, (unsigned int)hash );
|
||||
return hash;
|
||||
} /* stack_getHash */
|
||||
#endif
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in a new issue