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

Commit33f1316

Browse files
committed
Mark hash_corrupted() as pg_attribute_noreturn.
Coverity started complaining about this aftercc5ef90.The code's not really different from before, but mightas well clarify its intent.
1 parent7eb9a82 commit33f1316

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/utils/hash/dynahash.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ static HASHBUCKET get_hash_entry(HTAB *hashp, int freelist_idx);
272272
staticvoidhdefault(HTAB*hashp);
273273
staticintchoose_nelem_alloc(Sizeentrysize);
274274
staticboolinit_htab(HTAB*hashp,longnelem);
275-
staticvoidhash_corrupted(HTAB*hashp);
275+
staticvoidhash_corrupted(HTAB*hashp)pg_attribute_noreturn();
276276
staticuint32hash_initial_lookup(HTAB*hashp,uint32hashvalue,
277277
HASHBUCKET**bucketptr);
278278
staticlongnext_pow2_long(longnum);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp