git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@131988 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Tilghman Lesher
2008-07-18 17:10:01 +00:00
parent 89b6e63a8b
commit 0f738146e8

View File

@@ -286,7 +286,11 @@ int _ast_sched_del(struct sched_context *con, int id, const char *file, int line
if (!s) {
if (option_debug)
ast_log(LOG_DEBUG, "Attempted to delete nonexistent schedule entry %d!\n", id);
#ifndef DEVMODE
ast_assert(s != NULL);
#else
_ast_assert(0, "s != NULL", file, line, function);
#endif
return -1;
}