Commit eaa19eb5 authored by Mike Gabriel's avatar Mike Gabriel

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; ^ ```
parent 6c6b6b96
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment