# HG changeset patch # User reimar # Date 1304797942 0 # Node ID 7cb8dd27fcaaa2fc777cad9533d5ed3701e61e57 # Parent 8773e8565983c4db6064af4180b9931976c41010 Remove unused variables and code initializing them. diff -r 8773e8565983 -r 7cb8dd27fcaa libvo/vo_x11.c --- a/libvo/vo_x11.c Sat May 07 19:49:26 2011 +0000 +++ b/libvo/vo_x11.c Sat May 07 19:52:22 2011 +0000 @@ -310,10 +310,7 @@ // int screen; // int interval, prefer_blank, allow_exp, nothing; - unsigned int fg, bg; Colormap theCmap; - XSetWindowAttributes xswa; - unsigned long xswamask; const struct fmt2Xfmtentry_s *fmte = fmt2Xfmt; #ifdef CONFIG_XF86VM @@ -360,24 +357,9 @@ vo_vm_switch(); } #endif - bg = WhitePixel(mDisplay, mScreen); - fg = BlackPixel(mDisplay, mScreen); theCmap = vo_x11_create_colormap(&vinfo); - xswa.background_pixel = 0; - xswa.border_pixel = 0; - xswa.colormap = theCmap; - xswamask = CWBackPixel | CWBorderPixel | CWColormap; - -#ifdef CONFIG_XF86VM - if (vm) - { - xswa.override_redirect = True; - xswamask |= CWOverrideRedirect; - } -#endif - vo_x11_create_vo_window(&vinfo, vo_dx, vo_dy, vo_dwidth, vo_dheight, flags, theCmap, "x11", title); if (WinID > 0)