[Home]

Summary:ASTERISK-03297: [patch] resolve compiling warning
Reporter:mochouinard (mochouinard)Labels:
Date Opened:2005-01-18 05:32:23.000-0600Date Closed:2011-06-07 14:11:59
Priority:TrivialRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) fixwarning.txt
Description:This patch resolve warning I get on my TaoLinux box

****** ADDITIONAL INFORMATION ******

Disclamed ! ;)
Comments:By: mochouinard (mochouinard) 2005-01-18 05:34:07.000-0600

I didnt 'fix' the term.c warning (Ive being told it my library that cause the issue with term.c)

And I didn't fix the warning in codecs/lpc10

By: Mark Spencer (markster) 2005-01-18 05:38:22.000-0600

Fixed two of them, but those GSM variables are actually used depending on the build.

By: mochouinard (mochouinard) 2005-01-18 05:49:07.000-0600

Where is the ltmp being used ? I can't find it in the code.  
I only found 1 other definition of it, but with #if !(defined(__GNUC__) && defined(__i386__)).  so if it really needed, maybe we should enclose all the other with this #if ?

edited on: 01-18-05 05:50

By: Mark Spencer (markster) 2005-01-18 06:14:37.000-0600

It's used when k6opt is not enabled.  If you want to find a way to detect all that with defines, that's fine, but I really don't think it's a big deal since the compiler will optimize them away anyway.

By: Digium Subversion (svnbot) 2008-01-15 15:22:20.000-0600

Repository: asterisk
Revision: 4832

U   trunk/channels/chan_modem.c
U   trunk/formats/format_g723.c

------------------------------------------------------------------------
r4832 | markster | 2008-01-15 15:22:19 -0600 (Tue, 15 Jan 2008) | 2 lines

Fix compiler warnings (bug ASTERISK-3297)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=4832