[vorbis-dev] c++ comments in vorbis source

Monty xiphmont at xiph.org
Sat Jul 13 14:19:03 PDT 2002



On Sat, Jul 13, 2002 at 11:44:40AM +0100, Ralph Giles wrote:
> The MW compiler also warned about some unused args/variables. Don't know 
> if you what that cleaned up or not; it's easy enough to disable the 
> warning.
> 
> >Warning : variable / argument 'acc' is not used in function
> >res0.c line 347   static int _encodepart(oggpack_buffer *opb,float 
> >*vec, int n,
> >
> >Warning : variable / argument 'vd' is not used in function
> >floor1.c line 196   static vorbis_look_floor 
> >*floor1_look(vorbis_dsp_state *vd,
> >
> >Warning : variable / argument 'pos' is not used in function
> >envelope.c line 90   static int _ve_amp(envelope_lookup *ve,
> >
> >Warning : variable / argument 'i' is not used in function
> >envelope.c line 361   int i;
> 
> The last one is because the usage is #ifdef'd out, but the others are 
> valid.

The first two are due to common interfaces; the prototypes must match from instance to instance.  Disable the warnings.

Monty

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Vorbis-dev mailing list