Skip to content

Commit 0fdb2f7

Browse files
committed
Silence compiler warning.
Not all compilers understand that elog(ERROR, ...) never returns.
1 parent b152c6c commit 0fdb2f7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/backend/access/gin/ginbtree.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,10 @@ ginPlaceToPage(GinBtree btree, GinBtreeStack *stack,
598598
return false;
599599
}
600600
else
601+
{
601602
elog(ERROR, "unknown return code from GIN placeToPage method: %d", rc);
603+
return false; /* keep compiler quiet */
604+
}
602605
}
603606

604607
/*

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