aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-03-21 16:36:38 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-05-02 15:38:34 +0200
commit634484bb347ac01740a08e97e17ed28127e8e82e (patch)
treedf36c5900305e601a3abb537eee8a5629598bca1 /nx-X11/programs/Xserver
parente8042c9ff8b13665e7cbd7797c0c94dc8ae0f742 (diff)
downloadnx-libs-634484bb347ac01740a08e97e17ed28127e8e82e.tar.gz
nx-libs-634484bb347ac01740a08e97e17ed28127e8e82e.tar.bz2
nx-libs-634484bb347ac01740a08e97e17ed28127e8e82e.zip
hw/nxagent/GCOps.c: Don't declare and assign oldDstxyValue if not used later on.
Amends the following compiler warning: ``` GCOps.c: In function ‘nxagentCopyArea’: GCOps.c:597:7: warning: variable ‘oldDstxyValue’ set but not used [-Wunused-but-set-variable] int oldDstxyValue; ^ ```
Diffstat (limited to 'nx-X11/programs/Xserver')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/GCOps.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/GCOps.c b/nx-X11/programs/Xserver/hw/nxagent/GCOps.c
index 604b1d85a..5f753ffe4 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/GCOps.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/GCOps.c
@@ -594,8 +594,6 @@ RegionPtr nxagentCopyArea(DrawablePtr pSrcDrawable, DrawablePtr pDstDrawable,
unsigned int format;
unsigned long planeMask = 0xffffffff;
- int oldDstxyValue;
-
RegionPtr pDstRegion;
int skip = 0;
@@ -651,8 +649,6 @@ RegionPtr nxagentCopyArea(DrawablePtr pSrcDrawable, DrawablePtr pDstDrawable,
}
}
- oldDstxyValue = dsty;
-
if (dsty + pDstDrawable->y + height > 32767)
{
#ifdef WARNING