From: Heikki Linnakangas Date: Thu, 23 Jan 2014 20:14:20 +0000 (+0200) Subject: Silence compiler warning. X-Git-Tag: REL9_4_BETA1~634 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0fdb2f7d7c0059a1621710206ed506124cf98f77;p=postgresql Silence compiler warning. Not all compilers understand that elog(ERROR, ...) never returns. --- diff --git a/src/backend/access/gin/ginbtree.c b/src/backend/access/gin/ginbtree.c index c17c90fbc2..a133a34e8d 100644 --- a/src/backend/access/gin/ginbtree.c +++ b/src/backend/access/gin/ginbtree.c @@ -598,7 +598,10 @@ ginPlaceToPage(GinBtree btree, GinBtreeStack *stack, return false; } else + { elog(ERROR, "unknown return code from GIN placeToPage method: %d", rc); + return false; /* keep compiler quiet */ + } } /*