[vlc-devel] commit: x11: fix compiler warnings. ( Rémi Duraffort )
Rémi Denis-Courmont
rdenis at simphalempin.com
Tue Feb 3 15:02:26 CET 2009
On Tue, 3 Feb 2009 11:50:40 +0100 (CET), git at videolan.org (git version
control) wrote:
> @@ -2795,7 +2790,7 @@ static int InitDisplay( vout_thread_t *p_vout )
>
> 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.
--
Rémi Denis-Courmont
More information about the vlc-devel
mailing list