Commit 5a00da5e authored by Ulrich Sibiller's avatar Ulrich Sibiller

NXproperty.c: clean returns

remove unneccessary parentheses
parent ee60cc50
......@@ -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
......
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