Skip to content

Commit ba0eb9b

Browse files
committed
moved var decl for c90 compliance
1 parent 3cf615e commit ba0eb9b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/backend/utils/error/elog.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -861,12 +861,13 @@ matches_backtrace_functions(const char *funcname)
861861
int
862862
errcode(int sqlerrcode)
863863
{
864-
/* BEGIN_NEON */
864+
ErrorData *edata = &errordata[errordata_stack_depth];
865+
866+
/* BEGIN_NEON */
865867
if (SqlErrorCode_hook != NULL) {
866868
SqlErrorCode_hook(sqlerrcode);
867869
}
868-
/* END_NEON */
869-
ErrorData *edata = &errordata[errordata_stack_depth];
870+
/* END_NEON */
870871

871872
/* we don't bother incrementing recursion_depth */
872873
CHECK_STACK_DEPTH();

0 commit comments

Comments
 (0)