aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2017-12-05 00:28:27 +0100
committerMihai Moldovan <ionic@ionic.de>2017-12-07 08:33:44 +0100
commit43579a3b9501bfb578c35e66c565e1974c77efab (patch)
tree1e5e44e5497f41c592a0b22b26124923efcee13b
parent5487d52fe1c37244c649c3aefb78600f08ffb91b (diff)
downloadnx-libs-43579a3b9501bfb578c35e66c565e1974c77efab.tar.gz
nx-libs-43579a3b9501bfb578c35e66c565e1974c77efab.tar.bz2
nx-libs-43579a3b9501bfb578c35e66c565e1974c77efab.zip
Events.c: move variable to inner scope
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Rootless.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Rootless.c b/nx-X11/programs/Xserver/hw/nxagent/Rootless.c
index f42f9d99d..364f0cbe4 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Rootless.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Rootless.c
@@ -251,7 +251,6 @@ Bool nxagentRootlessTreesMatch()
Window parent_return;
Window *children_return;
unsigned int nChildrenReturn;
- WindowPtr pW;
WindowPtr pTestWin = screenInfo.screens[0]->root -> firstChild;
Bool treesMatch = True;
Status result;
@@ -270,7 +269,7 @@ Bool nxagentRootlessTreesMatch()
while (nChildrenReturn > 0)
{
- pW = nxagentWindowPtr(children_return[--nChildrenReturn]);
+ WindowPtr pW = nxagentWindowPtr(children_return[--nChildrenReturn]);
if (!pW)
{