diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2021-01-30 16:10:17 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-02-03 14:52:53 +0100 |
commit | 513418ace94fa4e57917d5145381d05050e3e160 (patch) | |
tree | 8476e8692422bff9ccf4c4e6eff9c57743bca41a | |
parent | 19b639b910fadac9ef24ec1ef9bf774ad4e78a71 (diff) | |
download | nx-libs-513418ace94fa4e57917d5145381d05050e3e160.tar.gz nx-libs-513418ace94fa4e57917d5145381d05050e3e160.tar.bz2 nx-libs-513418ace94fa4e57917d5145381d05050e3e160.zip |
NXproperty.c: clean returns
remove unneccessary parentheses
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/NXproperty.c | 8 |
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 |