Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

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