mirror of
https://github.com/postgres/postgres.git
synced 2025-07-05 07:21:24 +03:00
Remove a useless cast to (void *) in hash_search() call
This pattern was previously cleaned up in54a177a948
, but a new instance snuck in around the same time in31966b151e
.
This commit is contained in:
@ -379,7 +379,7 @@ ExtendBufferedRelLocal(BufferManagerRelation bmr,
|
|||||||
InitBufferTag(&tag, &bmr.smgr->smgr_rlocator.locator, fork, first_block + i);
|
InitBufferTag(&tag, &bmr.smgr->smgr_rlocator.locator, fork, first_block + i);
|
||||||
|
|
||||||
hresult = (LocalBufferLookupEnt *)
|
hresult = (LocalBufferLookupEnt *)
|
||||||
hash_search(LocalBufHash, (void *) &tag, HASH_ENTER, &found);
|
hash_search(LocalBufHash, &tag, HASH_ENTER, &found);
|
||||||
if (found)
|
if (found)
|
||||||
{
|
{
|
||||||
BufferDesc *existing_hdr;
|
BufferDesc *existing_hdr;
|
||||||
|
Reference in New Issue
Block a user