summaryrefslogtreecommitdiff
path: root/software/octdeviceapi/oct6100api/oct6100_api/oct6100_tone_detection.c
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2006-08-09 14:40:15 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2011-02-27 21:09:14 +0200
commit46c5a4235aa52aba0daf9a96e89785f1edea05d2 (patch)
tree5dae8e2a3ad5568a5c1bdc7f13fe13953c55cab9 /software/octdeviceapi/oct6100api/oct6100_api/oct6100_tone_detection.c
parent27560e8d5efedd27630e6415f3b87b745e5d59c0 (diff)
silence some warnings where the compiler can't tell that the function being called will only write into the passed argument
git-svn-id: http://svn.asterisk.org/svn/octasic_api/oct612x/trunk@5 537310ab-6354-42db-a3cc-247b777f7be6
Diffstat (limited to 'software/octdeviceapi/oct6100api/oct6100_api/oct6100_tone_detection.c')
-rw-r--r--software/octdeviceapi/oct6100api/oct6100_api/oct6100_tone_detection.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_tone_detection.c b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_tone_detection.c
index 37b25ab..266061a 100644
--- a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_tone_detection.c
+++ b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_tone_detection.c
@@ -227,7 +227,7 @@ UINT32 Oct6100ToneDetectionEnableSer(
{
UINT32 ulChanIndex;
UINT32 ulExtToneChanIndex;
- UINT32 ulToneEventNumber;
+ UINT32 ulToneEventNumber = 0;
UINT32 ulResult;
@@ -582,7 +582,7 @@ UINT32 Oct6100ToneDetectionDisableSer(
{
UINT32 ulChanIndex;
UINT32 ulExtToneChanIndex;
- UINT32 ulToneEventNumber;
+ UINT32 ulToneEventNumber = 0;
UINT32 ulResult;
BOOL fDisableAll;