# HG changeset patch # User reimar # Date 1226772843 0 # Node ID 2418fb29237599c4bc3ddb2c82a0a8570d0539c1 # Parent 47385b5c06130491ddd035a2bbe2b9f1739d4c30 Get rid of (besides useless assignments) unused XSizeHints variable diff -r 47385b5c0613 -r 2418fb292375 libvo/vo_xv.c --- a/libvo/vo_xv.c Sat Nov 15 18:11:10 2008 +0000 +++ b/libvo/vo_xv.c Sat Nov 15 18:14:03 2008 +0000 @@ -166,7 +166,6 @@ uint32_t d_height, uint32_t flags, char *title, uint32_t format) { - XSizeHints hint; XVisualInfo vinfo; XGCValues xgcv; XSetWindowAttributes xswa; @@ -230,10 +229,6 @@ else #endif { - hint.x = vo_dx; - hint.y = vo_dy; - hint.width = d_width; - hint.height = d_height; #ifdef CONFIG_XF86VM if (vm) { @@ -248,16 +243,9 @@ } vo_vm_switch(vm_width, vm_height, &modeline_width, &modeline_height); - hint.x = (vo_screenwidth - modeline_width) / 2; - hint.y = (vo_screenheight - modeline_height) / 2; - hint.width = modeline_width; - hint.height = modeline_height; aspect_save_screenres(modeline_width, modeline_height); } else #endif - hint.flags = PPosition | PSize /* | PBaseSize */ ; - hint.base_width = hint.width; - hint.base_height = hint.height; XGetWindowAttributes(mDisplay, DefaultRootWindow(mDisplay), &attribs); depth = attribs.depth;