aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-03-16 08:05:01 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-05-02 14:53:05 +0200
commiteaa19eb55ca9cf513e274a5775ea23d993448263 (patch)
tree63c08f49258612e9556f9889af871a1b11955aae /nx-X11/programs
parent6c6b6b962654ac3c15d27aafbe583ee74e4f2266 (diff)
downloadnx-libs-eaa19eb55ca9cf513e274a5775ea23d993448263.tar.gz
nx-libs-eaa19eb55ca9cf513e274a5775ea23d993448263.tar.bz2
nx-libs-eaa19eb55ca9cf513e274a5775ea23d993448263.zip
NXwindow.c: Don't set w and h, not used later on.
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; ^ ```
Diffstat (limited to 'nx-X11/programs')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/NXwindow.c4
1 files changed, 0 insertions, 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)