From: Michael Stefaniuc Subject: winex11.drv: Remove an unused assignment (PVS-Studio) Message-Id: <20150123101317.GA13900@redhat.com> Date: Fri, 23 Jan 2015 11:13:17 +0100 --- dlls/winex11.drv/xrandr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/winex11.drv/xrandr.c b/dlls/winex11.drv/xrandr.c index e9670c3..58e66d6 100644 --- a/dlls/winex11.drv/xrandr.c +++ b/dlls/winex11.drv/xrandr.c @@ -163,7 +163,7 @@ static LONG xrandr10_set_current_mode( int mode ) root = DefaultRootWindow( gdi_display ); sc = pXRRGetScreenInfo (gdi_display, root); - size = pXRRConfigCurrentConfiguration (sc, &rot); + pXRRConfigCurrentConfiguration (sc, &rot); mode = mode % xrandr_mode_count; TRACE("Changing Resolution to %dx%d @%d Hz\n", -- 1.9.3