Skip to content

Commit

Permalink
Remove unneeded CHANGED_GVAR_LIST, as only INTOBJs are assigned
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisJefferson committed Jul 18, 2019
1 parent de2ea11 commit e787b0b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/gvars.c
Original file line number Diff line number Diff line change
Expand Up @@ -773,7 +773,6 @@ void MakeReadOnlyGVar (
ErrorMayQuit("Variable: '%g' is constant", (Int)NameGVar(gvar), 0L);
}
SetGVarWriteState(gvar, GVarReadOnly);
CHANGED_GVAR_LIST( FlagsGVars, gvar );
}

/****************************************************************************
Expand All @@ -789,7 +788,6 @@ void MakeConstantGVar(UInt gvar)
(Int)NameGVar(gvar), 0L);
}
SetGVarWriteState(gvar, GVarConstant);
CHANGED_GVAR_LIST(FlagsGVars, gvar);
}


Expand Down

0 comments on commit e787b0b

Please sign in to comment.