winex11.drv: Remove an unused assignment (PVS-Studio)

Michael Stefaniuc mstefani at redhat.de
Fri Jan 23 04:13:17 CST 2015


---
 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



More information about the wine-patches mailing list