Commit 1c36e49a authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Mike Gabriel

Clipboard.c: drop unneeded return code

parent bf87f8bb
......@@ -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
{
......
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