diff options
Diffstat (limited to 'Src/Builtins/sched.c')
-rw-r--r-- | Src/Builtins/sched.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Src/Builtins/sched.c b/Src/Builtins/sched.c index c32a5f219..e4ccd98f6 100644 --- a/Src/Builtins/sched.c +++ b/Src/Builtins/sched.c @@ -97,11 +97,8 @@ checksched(void) */ if (schedcmds) { /* - * We need to delete the function from the list again, - * in case called code rescheduled. This is almost - * as cheap as checking if it's in the list already. + * We've already delete the function from the list. */ - deltimedfn(checksched); DPUTS(timedfns && firstnode(timedfns), "BUG: already timed fn (1)"); addtimedfn(checksched, schedcmds->time); } } |