Skip to content

Commit bf34bb5

Browse files
committed
ATRONIX: Rename variables to improve clarity
1 parent 8e918f7 commit bf34bb5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/core/n-control.c

+6-6
Original file line numberDiff line numberDiff line change
@@ -767,17 +767,17 @@ enum {
767767
/*
768768
***********************************************************************/
769769
{
770-
REBVAL value = *D_ARG(3); // TRY exception will trim the stack
771770
REBFLG except = D_REF(2);
771+
REBVAL handler = *D_ARG(3); // TRY exception will trim the stack
772772

773773
if (Try_Block(VAL_SERIES(D_ARG(1)), VAL_INDEX(D_ARG(1)))) {
774774
if (except) {
775-
if (IS_BLOCK(&value)) {
776-
DO_BLK(&value);
775+
if (IS_BLOCK(&handler)) {
776+
DO_BLK(&handler);
777777
}
778-
else { // do func[error] arg
779-
REBVAL arg = *DS_NEXT; // will get overwritten
780-
Apply_Func(0, &value, &arg, 0);
778+
else { // do func[err] error
779+
REBVAL error = *DS_NEXT; // will get overwritten
780+
Apply_Func(0, &handler, &error, 0);
781781
}
782782
}
783783
}

0 commit comments

Comments
 (0)