diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2016-03-18 16:27:09 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2016-05-02 14:53:06 +0200 |
commit | 7d3d47f1f298e4f2e0c45a2beab089978bd7d407 (patch) | |
tree | 22bd6c822ea7979bb597324f714b7a13f212ad13 /nx-X11/programs | |
parent | 5ea2457effe433f4fc66a1a17e0a1ab7527462d6 (diff) | |
download | nx-libs-7d3d47f1f298e4f2e0c45a2beab089978bd7d407.tar.gz nx-libs-7d3d47f1f298e4f2e0c45a2beab089978bd7d407.tar.bz2 nx-libs-7d3d47f1f298e4f2e0c45a2beab089978bd7d407.zip |
hw/nxagent/Window.c: Don't declare "XWindowChanges changes;" and later not use it.
Amends the following compiler warning:
```
Window.c:2179:24: warning: variable ‘changes’ set but not used [-Wunused-but-set-variable]
XWindowChanges changes;
^
```
Diffstat (limited to 'nx-X11/programs')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Window.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Window.c b/nx-X11/programs/Xserver/hw/nxagent/Window.c index 9201df197..37148f222 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Window.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Window.c @@ -2176,7 +2176,6 @@ void nxagentWindowExposures(WindowPtr pWin, RegionPtr pRgn, RegionPtr other_expo if (nxagentExposeQueue.length < EXPOSED_SIZE) { - XWindowChanges changes; int index; index = (nxagentExposeQueue.start + nxagentExposeQueue.length) % EXPOSED_SIZE; @@ -2212,9 +2211,6 @@ void nxagentWindowExposures(WindowPtr pWin, RegionPtr pRgn, RegionPtr other_expo nxagentExposeSerial = (nxagentExposeSerial - 1) % EXPOSED_SIZE; - changes.x = nxagentExposeSerial; - changes.y = -2; - nxagentExposeQueue.exposures[index].serial = nxagentExposeSerial; #ifdef TEST |