aboutsummaryrefslogtreecommitdiff
path: root/nx-X11
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-03-21 16:36:15 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-05-02 15:38:34 +0200
commite8042c9ff8b13665e7cbd7797c0c94dc8ae0f742 (patch)
treeac6bfcbaae88c5470e051cf71341ef65ed7941ff /nx-X11
parent7876d1f28161f244fe837f2ed5bc348cfdac10de (diff)
downloadnx-libs-e8042c9ff8b13665e7cbd7797c0c94dc8ae0f742.tar.gz
nx-libs-e8042c9ff8b13665e7cbd7797c0c94dc8ae0f742.tar.bz2
nx-libs-e8042c9ff8b13665e7cbd7797c0c94dc8ae0f742.zip
hw/nxagent/GC.c: Don't declare and assign flexibility variable if not used later on.
Amends the following compiler warning: ``` GC.c: In function ‘nxagentReconnectAllGCs’: GC.c:1154:7: warning: variable ‘flexibility’ set but not used [-Wunused-but-set-variable] int flexibility; ^ ```
Diffstat (limited to 'nx-X11')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/GC.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/GC.c b/nx-X11/programs/Xserver/hw/nxagent/GC.c
index c06e56a00..7450c1e6c 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/GC.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/GC.c
@@ -1151,12 +1151,9 @@ static void nxagentReconnectGC(void *param0, XID param1, void * param2)
Bool nxagentReconnectAllGCs(void *p0)
{
- int flexibility;
int cid;
Bool GCSuccess = True;
- flexibility = *(int*)p0;
-
#ifdef DEBUG
fprintf(stderr, "nxagentReconnectAllGCs\n");
#endif