aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2021-01-30 16:10:17 +0100
committerUlrich Sibiller <uli42@gmx.de>2021-01-30 16:10:17 +0100
commit5a00da5eca15ce16401dbdfc6595949beb8a3e76 (patch)
tree008e739113dbebbc04959a7c00805f80a069e63b
parentee60cc50cb3c9fb3844fb5b6bd330f636213ee7d (diff)
downloadnx-libs-5a00da5eca15ce16401dbdfc6595949beb8a3e76.tar.gz
nx-libs-5a00da5eca15ce16401dbdfc6595949beb8a3e76.tar.bz2
nx-libs-5a00da5eca15ce16401dbdfc6595949beb8a3e76.zip
NXproperty.c: clean returns
remove unneccessary parentheses
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/NXproperty.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/NXproperty.c b/nx-X11/programs/Xserver/hw/nxagent/NXproperty.c
index 97665d22e..3ca79cea7 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/NXproperty.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/NXproperty.c
@@ -482,14 +482,14 @@ GetWindowProperty(pWin, property, longOffset, longLength, delete,
#ifdef DEBUG
fprintf(stderr, "%s: invalid atom [%d]\n", __func__, property);
#endif
- return(BadAtom);
+ return BadAtom;
}
if ((type != AnyPropertyType) && !ValidAtom(type))
{
#ifdef DEBUG
fprintf(stderr, "%s: invalid type [%d]\n", __func__, type);
#endif
- return(BadAtom);
+ return BadAtom;
}
pProp = wUserProps (pWin);
@@ -508,7 +508,7 @@ GetWindowProperty(pWin, property, longOffset, longLength, delete,
#ifdef DEBUG
fprintf(stderr, "%s: property not found [%d]\n", __func__, property);
#endif
- return (BadAtom);
+ return BadAtom;
}
/* If the request type and actual type don't match. Return the
@@ -577,7 +577,7 @@ GetWindowProperty(pWin, property, longOffset, longLength, delete,
free(pProp->data);
free(pProp);
}
- return(Success);
+ return Success;
}
#endif