From eaa19eb55ca9cf513e274a5775ea23d993448263 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Wed, 16 Mar 2016 08:05:01 +0100 Subject: NXwindow.c: Don't set w and h, not used later on. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Amends the following compiler warnings: ``` NXwindow.c: In function ‘nxagentClearSplash’: NXwindow.c:342:12: warning: variable ‘h’ set but not used [-Wunused-but-set-variable] int w, h; ^ NXwindow.c:342:9: warning: variable ‘w’ set but not used [-Wunused-but-set-variable] int w, h; ^ ``` --- nx-X11/programs/Xserver/hw/nxagent/NXwindow.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/nx-X11/programs/Xserver/hw/nxagent/NXwindow.c b/nx-X11/programs/Xserver/hw/nxagent/NXwindow.c index 4552ad563..013f26e28 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/NXwindow.c +++ b/nx-X11/programs/Xserver/hw/nxagent/NXwindow.c @@ -339,12 +339,8 @@ SetWindowToDefaults(register WindowPtr pWin) void nxagentClearSplash(WindowPtr pW) { - int w, h; ScreenPtr pScreen; - w = pW->drawable.width; - h = pW->drawable.height; - pScreen = pW->drawable.pScreen; if (pW->backgroundState == BackgroundPixmap) -- cgit v1.2.3