Commit 513418ac authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Mike Gabriel

NXproperty.c: clean returns

remove unneccessary parentheses
parent 19b639b9
...@@ -482,14 +482,14 @@ GetWindowProperty(pWin, property, longOffset, longLength, delete, ...@@ -482,14 +482,14 @@ GetWindowProperty(pWin, property, longOffset, longLength, delete,
#ifdef DEBUG #ifdef DEBUG
fprintf(stderr, "%s: invalid atom [%d]\n", __func__, property); fprintf(stderr, "%s: invalid atom [%d]\n", __func__, property);
#endif #endif
return(BadAtom); return BadAtom;
} }
if ((type != AnyPropertyType) && !ValidAtom(type)) if ((type != AnyPropertyType) && !ValidAtom(type))
{ {
#ifdef DEBUG #ifdef DEBUG
fprintf(stderr, "%s: invalid type [%d]\n", __func__, type); fprintf(stderr, "%s: invalid type [%d]\n", __func__, type);
#endif #endif
return(BadAtom); return BadAtom;
} }
pProp = wUserProps (pWin); pProp = wUserProps (pWin);
...@@ -508,7 +508,7 @@ GetWindowProperty(pWin, property, longOffset, longLength, delete, ...@@ -508,7 +508,7 @@ GetWindowProperty(pWin, property, longOffset, longLength, delete,
#ifdef DEBUG #ifdef DEBUG
fprintf(stderr, "%s: property not found [%d]\n", __func__, property); fprintf(stderr, "%s: property not found [%d]\n", __func__, property);
#endif #endif
return (BadAtom); return BadAtom;
} }
/* If the request type and actual type don't match. Return the /* If the request type and actual type don't match. Return the
...@@ -577,7 +577,7 @@ GetWindowProperty(pWin, property, longOffset, longLength, delete, ...@@ -577,7 +577,7 @@ GetWindowProperty(pWin, property, longOffset, longLength, delete,
free(pProp->data); free(pProp->data);
free(pProp); free(pProp);
} }
return(Success); return Success;
} }
#endif #endif
......
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