diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2020-05-07 18:14:01 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2020-05-31 12:52:35 +0200 |
commit | 9e7afaa4260344df8957e276e7e99ecab2a0b943 (patch) | |
tree | 7fdd54ef288273275a65eb75ecf94eb94a63277c /nx-X11/programs | |
parent | fc4c8a3acd1e3cc89682f80ca22510eb06839113 (diff) | |
download | nx-libs-9e7afaa4260344df8957e276e7e99ecab2a0b943.tar.gz nx-libs-9e7afaa4260344df8957e276e7e99ecab2a0b943.tar.bz2 nx-libs-9e7afaa4260344df8957e276e7e99ecab2a0b943.zip |
Clipboard.c: small code improvement
Diffstat (limited to 'nx-X11/programs')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Clipboard.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c index 60080ab25..ecc3f19be 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c @@ -1193,20 +1193,19 @@ void nxagentCollectPropertyEvent(int resource) unsigned long ulReturnItems; unsigned long ulReturnBytesLeft; unsigned char *pszReturnData = NULL; - int result; /* * We have received the notification so we can safely retrieve data * from the client structure. */ - result = NXGetCollectedProperty(nxagentDisplay, - resource, - &atomReturnType, - &resultFormat, - &ulReturnItems, - &ulReturnBytesLeft, - &pszReturnData); + int result = NXGetCollectedProperty(nxagentDisplay, + resource, + &atomReturnType, + &resultFormat, + &ulReturnItems, + &ulReturnBytesLeft, + &pszReturnData); nxagentLastClipboardClient = -1; |