Content-Length: 260204 | pFad | http://github.com/postgrespro/postgres/commit/a274bbb1b3655ae122bba792c8fb9ae8f0ac5b21

E9 Remove a useless cast to (void *) in hash_search() call · postgrespro/postgres@a274bbb · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/a274bbb1b3655ae122bba792c8fb9ae8f0ac5b21

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy