Commit 773fdb6a authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Mike Gabriel

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
parent 1ae0ceb7
...@@ -1416,6 +1416,7 @@ static void nxagentParseSingleOption(char *name, char *value) ...@@ -1416,6 +1416,7 @@ static void nxagentParseSingleOption(char *name, char *value)
{ {
nxagentChangeOption(Clipboard, ClipboardBoth); nxagentChangeOption(Clipboard, ClipboardBoth);
} }
return;
} }
else if (!strcmp(name, "sleep")) else if (!strcmp(name, "sleep"))
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment