Commit 0fdb2f7d authored by Heikki Linnakangas's avatar Heikki Linnakangas

Silence compiler warning.

Not all compilers understand that elog(ERROR, ...) never returns.
parent b152c6cd
...@@ -598,7 +598,10 @@ ginPlaceToPage(GinBtree btree, GinBtreeStack *stack, ...@@ -598,7 +598,10 @@ ginPlaceToPage(GinBtree btree, GinBtreeStack *stack,
return false; return false;
} }
else else
{
elog(ERROR, "unknown return code from GIN placeToPage method: %d", rc); elog(ERROR, "unknown return code from GIN placeToPage method: %d", rc);
return false; /* keep compiler quiet */
}
} }
/* /*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment