From: Mark Spencer Date: Mon, 19 Jul 2004 16:00:40 +0000 (+0000) Subject: Make sure s is initialized, make FAX_DETECT + OLD_DSP_ROUTINES build X-Git-Tag: 1.0.0-rc2~125 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8594ac304a89ca1632037000abaa33361102c45;p=thirdparty%2Fasterisk.git Make sure s is initialized, make FAX_DETECT + OLD_DSP_ROUTINES build git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3479 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_zap.c b/channels/chan_zap.c index e997171bb6..298708fb26 100755 --- a/channels/chan_zap.c +++ b/channels/chan_zap.c @@ -1457,7 +1457,7 @@ static int zt_call(struct ast_channel *ast, char *rdest, int timeout) int x, res, index; char *c, *n, *l; #ifdef ZAPATA_PRI - char *s; + char *s=NULL; #endif char callerid[256]; char dest[256]; /* must be same length as p->dialdest */ diff --git a/dsp.c b/dsp.c index ed90188c66..fd9282ccf3 100755 --- a/dsp.c +++ b/dsp.c @@ -132,9 +132,7 @@ static struct progress { #define DTMF_RELATIVE_PEAK_COL 6.3 /* 8dB */ #define DTMF_2ND_HARMONIC_ROW ((digitmode & DSP_DIGITMODE_RELAXDTMF) ? 1.7 : 2.5) /* 4dB normal */ #define DTMF_2ND_HARMONIC_COL 63.1 /* 18dB */ -#ifndef OLD_DSP_ROUTINES #define DTMF_TO_TOTAL_ENERGY 42.0 -#endif #ifdef OLD_DSP_ROUTINES #define MF_THRESHOLD 8.0e7