[Speex-dev] Unitialised variables...

Jean-Marc Valin jean-marc.valin at usherbrooke.ca
Sat Sep 25 01:14:20 PDT 2004


Hi,

On ven, 2004-09-24 at 16:50 +0800, illiminable wrote:
> Just making some windows builds, and there's a warning about "pitch" may be 
> used without being initialised (V1.0.4) in nb_celp.c

AFAIK, this condition cannot happen and the compiler is just too dumb to
realize it.

	Jean-Marc

> Can be removed by changing line 1010 from
> 
> int pitch;
> 
> to
> 
> int pitch = 0;
> 
> Cheers,
> 
> Zen. 
> 
> 
> _______________________________________________
> Speex-dev mailing list
> Speex-dev at xiph.org
> http://lists.xiph.org/mailman/listinfo/speex-dev




More information about the Speex-dev mailing list