Skip to content

Commit a274bbb

Browse files
committed
Remove a useless cast to (void *) in hash_search() call
This pattern was previously cleaned up in 54a177a, but a new instance snuck in around the same time in 31966b1.
1 parent 13e3796 commit a274bbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/storage/buffer/localbuf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ ExtendBufferedRelLocal(BufferManagerRelation bmr,
379379
InitBufferTag(&tag, &bmr.smgr->smgr_rlocator.locator, fork, first_block + i);
380380

381381
hresult = (LocalBufferLookupEnt *)
382-
hash_search(LocalBufHash, (void *) &tag, HASH_ENTER, &found);
382+
hash_search(LocalBufHash, &tag, HASH_ENTER, &found);
383383
if (found)
384384
{
385385
BufferDesc *existing_hdr;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy