Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita274bbb

Browse files
committed
Remove a useless cast to (void *) in hash_search() call
This pattern was previously cleaned up in54a177a, but a newinstance snuck in around the same time in31966b1.
1 parent13e3796 commita274bbb

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)

[8]ページ先頭

©2009-2025 Movatter.jp