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

Appearance settings

Commit 33f1316

Browse filesBrowse files
committed
Mark hash_corrupted() as pg_attribute_noreturn.
Coverity started complaining about this after cc5ef90. The code's not really different from before, but might as well clarify its intent.
1 parent 7eb9a82 commit 33f1316
Copy full SHA for 33f1316

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

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

Copy file name to clipboardExpand all lines: src/backend/utils/hash/dynahash.c
+1-1Lines 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
static void hdefault(HTAB *hashp);
273273
static int choose_nelem_alloc(Size entrysize);
274274
static bool init_htab(HTAB *hashp, long nelem);
275-
static void hash_corrupted(HTAB *hashp);
275+
static void hash_corrupted(HTAB *hashp) pg_attribute_noreturn();
276276
static uint32 hash_initial_lookup(HTAB *hashp, uint32 hashvalue,
277277
HASHBUCKET **bucketptr);
278278
static long next_pow2_long(long num);

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.