summaryrefslogtreecommitdiff
path: root/main/sched.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/sched.c')
-rw-r--r--main/sched.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/main/sched.c b/main/sched.c
index 6161185e4..97e07eab5 100644
--- a/main/sched.c
+++ b/main/sched.c
@@ -496,9 +496,10 @@ int _ast_sched_del(struct ast_sched_context *con, int id, const char *file, int
ast_assert(s != NULL);
#else
{
- char buf[100];
- snprintf(buf, sizeof(buf), "s != NULL, id=%d", id);
- _ast_assert(0, buf, file, line, function);
+ char buf[100];
+
+ snprintf(buf, sizeof(buf), "s != NULL, id=%d", id);
+ _ast_assert(0, buf, file, line, function);
}
#endif
*last_id = id;