Skip to content

Commit

Permalink
fixup! kernel: get rid of STATE(CurrStat)
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin committed Aug 14, 2018
1 parent f975487 commit 7653a7d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/error.c
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,6 @@ Obj FuncCALL_WITH_CATCH(Obj self, Obj func, volatile Obj args)
volatile Obj currLVars;
volatile Obj tilde;
volatile Int recursionDepth;
volatile Stat currStat;

if (!IS_FUNC(func))
ErrorMayQuit(
Expand All @@ -238,7 +237,10 @@ Obj FuncCALL_WITH_CATCH(Obj self, Obj func, volatile Obj args)
memcpy((void *)&readJmpError, (void *)&STATE(ReadJmpError),
sizeof(syJmp_buf));
currLVars = STATE(CurrLVars);
#ifdef GAP_KERNEL_DEBUG
volatile Stat currStat;
currStat = BRK_CALL_TO();
#endif
recursionDepth = GetRecursionDepth();
tilde = STATE(Tilde);
res = NEW_PLIST_IMM(T_PLIST_DENSE, 2);
Expand Down

0 comments on commit 7653a7d

Please sign in to comment.