diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2016-03-21 16:36:15 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2016-05-02 15:38:34 +0200 |
commit | e8042c9ff8b13665e7cbd7797c0c94dc8ae0f742 (patch) | |
tree | ac6bfcbaae88c5470e051cf71341ef65ed7941ff | |
parent | 7876d1f28161f244fe837f2ed5bc348cfdac10de (diff) | |
download | nx-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;
^
```
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/GC.c | 3 |
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 |