diff options
Diffstat (limited to 'main/sched.c')
-rw-r--r-- | main/sched.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/main/sched.c b/main/sched.c index 3aeeb9d82..e5b46a85c 100644 --- a/main/sched.c +++ b/main/sched.c @@ -289,9 +289,7 @@ int ast_sched_del(struct sched_context *con, int id) if (!s) { ast_debug(1, "Attempted to delete nonexistent schedule entry %d!\n", id); -#ifdef DO_CRASH - CRASH; -#endif + ast_assert(0); return -1; } |