diff options
author | Cyril Brulebois <kibi@debian.org> | 2010-11-12 21:29:26 +0100 |
---|---|---|
committer | Cyril Brulebois <kibi@debian.org> | 2010-12-07 18:42:45 +0100 |
commit | a937803c1f671ef29332e5fe8c190d8b48239912 (patch) | |
tree | 898f0e2292279e14967d6ab111cd9c04e1fba1af /mi/misprite.c | |
parent | 73fbc4a4a7997b3ee1c779d8f394114270bcb20d (diff) |
dix: Simplify deprecated *Lookup* wrappers around dixLookup*.
As pointed out by Jamey Sharp: “the result pointer is already guaranteed
to be NULL if the return value is not Success”, so get rid of the
variable used to catch the return value, and used in a ternary operation
to decide whether to return the pointer or NULL. Always return the
result pointer instead.
Reviewed-by: Jamey Sharp <jamey@minilop.net>
Signed-off-by: Cyril Brulebois <kibi@debian.org>
Diffstat (limited to 'mi/misprite.c')
0 files changed, 0 insertions, 0 deletions