Return function != NULL in HashTable_SetHashFunction

This commit is contained in:
Armin Novak 2021-06-16 10:24:03 +02:00 committed by akallabeth
parent 31862e60f9
commit 61c1d82e3b

View File

@ -826,7 +826,7 @@ BOOL HashTable_SetHashFunction(wHashTable* table, HASH_TABLE_HASH_FN fn)
{
WINPR_ASSERT(table);
table->hash = fn;
return TRUE;
return fn != NULL;
}
BOOL HashTable_SetupForStringData(wHashTable* table, BOOL stringValues)