From bba1edfca598b6cb290ac5304839d62a434e8dfa Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 1 Nov 2012 00:46:13 +0100 Subject: [PATCH] vo_x11: remove dead assignment --- libvo/vo_x11.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/libvo/vo_x11.c b/libvo/vo_x11.c index 8090821fa8..3c62c35bce 100644 --- a/libvo/vo_x11.c +++ b/libvo/vo_x11.c @@ -300,7 +300,6 @@ static int config(struct vo *vo, uint32_t width, uint32_t height, struct priv *p = vo->priv; Colormap theCmap; - unsigned long xswamask; const struct fmt2Xfmtentry_s *fmte = fmt2Xfmt; #ifdef CONFIG_XF86VM @@ -349,13 +348,6 @@ static int config(struct vo *vo, uint32_t width, uint32_t height, #endif theCmap = vo_x11_create_colormap(vo, &p->vinfo); - xswamask = CWBackPixel | CWBorderPixel | CWColormap; - -#ifdef CONFIG_XF86VM - if (vm) - xswamask |= CWOverrideRedirect; -#endif - vo_x11_create_vo_window(vo, &p->vinfo, vo->dx, vo->dy, vo->dwidth, vo->dheight, flags, theCmap, "x11"); if (WinID > 0)