Mercurial > mplayer.hg
changeset 33325:7cb8dd27fcaa
Remove unused variables and code initializing them.
author | reimar |
---|---|
date | Sat, 07 May 2011 19:52:22 +0000 |
parents | 8773e8565983 |
children | a25fcd61e0c9 |
files | libvo/vo_x11.c |
diffstat | 1 files changed, 0 insertions(+), 18 deletions(-) [+] |
line wrap: on
line diff
--- 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)