aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/Args.c
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2019-06-22 19:26:56 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2019-11-15 12:10:16 +0100
commit773fdb6a81f81f466a8e36ffc3afd96bd29abf7e (patch)
tree4d4bffa5e3becc3bfb6c20f67fb62f471eb52553 /nx-X11/programs/Xserver/hw/nxagent/Args.c
parent1ae0ceb7cf79b6b7b268a0f0d4935fd235f990d3 (diff)
downloadnx-libs-773fdb6a81f81f466a8e36ffc3afd96bd29abf7e.tar.gz
nx-libs-773fdb6a81f81f466a8e36ffc3afd96bd29abf7e.tar.bz2
nx-libs-773fdb6a81f81f466a8e36ffc3afd96bd29abf7e.zip
Args.c: fix unitialized variable
"clipboard=something" does not need to be passed on, so return after setting nxagentOptions accordingly. This fixes [nx-X11/programs/Xserver/hw/nxagent/Args.c:1584]: (error) Uninitialized variable: argc
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Args.c')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Args.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Args.c b/nx-X11/programs/Xserver/hw/nxagent/Args.c
index abdb650a4..846af98c5 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Args.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Args.c
@@ -1416,6 +1416,7 @@ static void nxagentParseSingleOption(char *name, char *value)
{
nxagentChangeOption(Clipboard, ClipboardBoth);
}
+ return;
}
else if (!strcmp(name, "sleep"))
{