From b9479a9e83eaa17516fc90f9bf92a7c5a84eaa50 Mon Sep 17 00:00:00 2001
From: Richard Mudgett <rmudgett@digium.com>
Date: Fri, 7 Sep 2012 22:09:32 +0000
Subject: [PATCH] Remove annoying unconditional debug message from INC/DEC
 functions.

(closes issue AST-1001)
Reported by: Guenther Kelleter
........

Merged revisions 372628 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 372629 from http://svn.asterisk.org/svn/asterisk/branches/10


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@372630 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 funcs/func_math.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/funcs/func_math.c b/funcs/func_math.c
index e27057c57e..05321b719c 100644
--- a/funcs/func_math.c
+++ b/funcs/func_math.c
@@ -421,8 +421,6 @@ static int crement_function_read(struct ast_channel *chan, const char *cmd,
 		modify_orig = 1;
 	}
 
-	ast_log(LOG_NOTICE, "The value is now: %d\n", int_value);
-
 	if (snprintf(returnvar, sizeof(returnvar), "%d", int_value) > 0) {
 		pbx_builtin_setvar_helper(chan, data, returnvar);
 		if (modify_orig) {
-- 
GitLab