This commits the performance mods that give the priority processing engine in the...
[asterisk/asterisk.git] / cdr / cdr_custom.c
index fa4eb11..fe65abd 100644 (file)
@@ -119,7 +119,6 @@ static int custom_log(struct ast_cdr *cdr)
        if (ast_strlen_zero(master))
                return 0;
 
        if (ast_strlen_zero(master))
                return 0;
 
-       memset(buf, 0 , sizeof(buf));
        /* Quite possibly the first use of a static struct ast_channel, we need it so the var funcs will work */
        memset(&dummy, 0, sizeof(dummy));
        dummy.cdr = cdr;
        /* Quite possibly the first use of a static struct ast_channel, we need it so the var funcs will work */
        memset(&dummy, 0, sizeof(dummy));
        dummy.cdr = cdr;