[MPlayer-cvslog] r24170 - trunk/command.c

Diego Biurrun diego at biurrun.de
Sat Aug 25 15:09:19 CEST 2007


On Sat, Aug 25, 2007 at 03:01:29PM +0200, Reimar Döffinger wrote:
> On Sat, Aug 25, 2007 at 02:47:42PM +0200, diego wrote:
> > 
> > Log:
> > Fix unused variable warning when USE_DVDNAV is not defined.
> > 
> > --- trunk/command.c	(original)
> > +++ trunk/command.c	Sat Aug 25 14:47:41 2007
> > @@ -2736,12 +2736,13 @@ int run_command(MPContext * mpctx, mp_cm
> >  
> >  #ifdef USE_DVDNAV
> > +		int button = -1;
> >  		if (mpctx->stream->type == STREAMTYPE_DVDNAV
> >  		    && dx > 0.0 && dy > 0.0) {
> 
> IMO you should move this into the if, it is not used outside.

Done.

Diego



More information about the MPlayer-cvslog mailing list