summaryrefslogtreecommitdiff
path: root/main/sched.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/sched.c')
-rw-r--r--main/sched.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/main/sched.c b/main/sched.c
index 64ef413ea..91d86164e 100644
--- a/main/sched.c
+++ b/main/sched.c
@@ -373,9 +373,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;
}