[Ffmpeg-devel] [PATCH] Fix some gcc warnings

Aurelien Jacobs aurel
Wed Sep 21 22:39:37 CEST 2005

On Wed, 21 Sep 2005 10:28:00 +0100 (BST)
M?ns Rullg?rd <mru at inprovide.com> wrote:

> Colin Ward said:
> >
> > Michel Bardiaux wrote:
> >>
> >
> >    [Snip]
> >
> >    Yay!
> >
> >    I noticed that FFMPEG can be a little noisy to compile.  Lots of
> > "unused variable" type warnings.  I was wondering if people would be
> > interested in patches for these.  Should I submit some or are people
> > not really worried?
> I thought I had cleaned up most of those.

That's true. But there are still some of them left, especially in snow.c.
Attached a patch which fixes all the remaining "unused variable" I had
with my config.

Also note that the patch which initiated this thread don't fix "unused
variable". It in fact fixes "assignment makes pointer from integer without
a cast" in bitstream.h which is included in a lot of files, and so which
causes warnings all along the build. So I think this patch is really
desirable, and I'm willing to apply it if no one protest.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: unused-variable.diff
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20050921/e6c0943d/attachment.asc>

More information about the ffmpeg-devel mailing list