This is an automated email from the ASF dual-hosted git repository. jgemignani pushed a commit to branch PG12 in repository https://gitbox.apache.org/repos/asf/age.git
commit 20ffc26c17b16b231427f61821a6d328c86e0185 Author: John Gemignani <[email protected]> AuthorDate: Mon Dec 12 10:47:43 2022 -0800 Fix Travis CI warning message Fixed Travis CI warning message - warning: unused variable ‘stack’ --- src/backend/utils/adt/age_vle.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/backend/utils/adt/age_vle.c b/src/backend/utils/adt/age_vle.c index e3e6385..7302ec4 100644 --- a/src/backend/utils/adt/age_vle.c +++ b/src/backend/utils/adt/age_vle.c @@ -1448,7 +1448,12 @@ static VLE_path_container *build_VLE_zero_container(VLE_local_context *vlelctx) graphid vid = 0; /* we should have an empty stack */ - Assert(get_stack_size(stack) == 0); + if (get_stack_size(stack) != 0) + { + ereport(ERROR, + (errcode(ERRCODE_DATA_EXCEPTION), + errmsg("build_VLE_zero_container: stack is not empty"))); + } /* * Create the container. Note that the path size will always be 1 as this is
