From ceacc9a71cde2cbb24e23c4f247fa8b1ee1be53d Mon Sep 17 00:00:00 2001 From: Chapman Flack Date: Tue, 27 May 2025 20:11:53 -0400 Subject: [PATCH] Pacify MSVC about ereport(ERROR control flow MSVC on GitHub Actions has been reporting consistently that control can reach this point. --- pljava-so/src/main/c/Function.c | 1 + 1 file changed, 1 insertion(+) diff --git a/pljava-so/src/main/c/Function.c b/pljava-so/src/main/c/Function.c index 249374271..5af233ab7 100644 --- a/pljava-so/src/main/c/Function.c +++ b/pljava-so/src/main/c/Function.c @@ -692,6 +692,7 @@ Type Function_checkTypeBaseUDT(Oid typeId, Form_pg_type typeStruct) ereport(ERROR, (errmsg( "PL/Java UDT with oid %u declares input/output/send/recv functions " "in more than one class", typeId))); + pg_unreachable(); /* MSVC otherwise is not convinced */ } static Function Function_create(