[vlc-devel] commit: x11: fix compiler warnings. ( Rémi Duraffort )
    Rémi Duraffort 
    ivoire at via.ecp.fr
       
    Tue Feb  3 16:03:29 CET 2009
    
    
  
> >          if( p_vout->p_sys->i_shm_opcode )
> >          {
> > -            int major, minor;
> > +            int minor;
> >              Bool pixmaps;
> >  
> >              XShmQueryVersion( p_vout->p_sys->p_display, &major, &minor,
> 
> Expanding the scope of a variable without reason is seldom a good idea.
I know, that why I have read the code and IMHO it doesn't change
anything.
-- 
ivoire | Rémi Duraffort
    
    
More information about the vlc-devel
mailing list