mirror of
https://github.com/git/git.git
synced 2024-11-13 20:53:02 +01:00
Merge branch 'maint'
* maint: hash: fix lookup_hash semantics
This commit is contained in:
commit
22c430ad84
1 changed files with 1 additions and 1 deletions
2
hash.c
2
hash.c
|
@ -70,7 +70,7 @@ void *lookup_hash(unsigned int hash, struct hash_table *table)
|
|||
{
|
||||
if (!table->array)
|
||||
return NULL;
|
||||
return &lookup_hash_entry(hash, table)->ptr;
|
||||
return lookup_hash_entry(hash, table)->ptr;
|
||||
}
|
||||
|
||||
void **insert_hash(unsigned int hash, void *ptr, struct hash_table *table)
|
||||
|
|
Loading…
Reference in a new issue