Skip to content

Commit 33f1316

Browse 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

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
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)
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