[FFmpeg-devel] [PATCH] Fix some defined but not used warnings in snow.c

Måns Rullgård mans
Sat Nov 17 13:40:04 CET 2007


Diego Biurrun <diego at biurrun.de> writes:

> On Sat, Nov 17, 2007 at 03:15:05AM +0100, Michael Niedermayer wrote:
>> On Sat, Nov 17, 2007 at 12:14:28AM +0100, Diego Biurrun wrote:
>> > On Wed, Nov 14, 2007 at 10:54:00AM +0100, Diego Biurrun wrote:
>> > > On Sat, Nov 10, 2007 at 06:07:37PM +0100, Diego Biurrun wrote:
>> > > > Here are two patches to fix the following warnings in snow.c:
>> > > > 
>> > > > snow.c:1163: warning: ?spatial_compose53i? defined but not used
>> > > > snow.c:1313: warning: ?spatial_compose97i? defined but not used
>> > > > snow.c:4142: warning: ?halfpel_interpol? defined but not used
>> > > > 
>> > > > OK to apply?
>> > > 
>> > > No word on this?  OK, will apply tomorrow.
>> > 
>> > Applied.
>> 
>> how can we identify your system?
>> ill add something like
>> if diegos system add -w to CFLAGS
>
> I could try to come up with some build system magic :)
>
> That said, I think most of the other devs prefer to see as many warnings
> as possible eliminated.

Indeed.  It makes spotting new, important warnings easier.

Or we could put #ifdef MICHAELNI around unused bits of code like the
ones you just removed.

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-devel mailing list