diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2019-08-08 21:17:37 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2019-09-29 17:44:08 +0200 |
commit | 1c36e49ad0d90e47ae3e603f74119b6ba8c15f01 (patch) | |
tree | 83a71b76b1e1dee4937129272cc7e7f415ac9b55 /nx-X11/programs/Xserver | |
parent | bf87f8bbe9ad711548d51d2512bcd3ecef275b4f (diff) | |
download | nx-libs-1c36e49ad0d90e47ae3e603f74119b6ba8c15f01.tar.gz nx-libs-1c36e49ad0d90e47ae3e603f74119b6ba8c15f01.tar.bz2 nx-libs-1c36e49ad0d90e47ae3e603f74119b6ba8c15f01.zip |
Clipboard.c: drop unneeded return code
Diffstat (limited to 'nx-X11/programs/Xserver')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Clipboard.c | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c index 83175b22b..95bbdd441 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c @@ -1313,15 +1313,17 @@ void nxagentNotifySelection(XEvent *X) } else { - result = XChangeProperty(nxagentDisplay, - lastServerRequestor, - lastServerProperty, - lastServerTarget, - 8, - PropModeReplace, - pszReturnData, - ulReturnItems); /* Fill the property on the initial requestor with the requested data */ + /* The XChangeProperty source code reveals it will always + return 1, no matter what, so no need to check the result */ + XChangeProperty(nxagentDisplay, + lastServerRequestor, + lastServerProperty, + lastServerTarget, + 8, + PropModeReplace, + pszReturnData, + ulReturnItems); #ifdef DEBUG { |