aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/X11/ChCmap.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2015-12-19 10:00:22 -0800
committerUlrich Sibiller <uli42@gmx.de>2016-10-19 21:40:30 +0200
commitd980be3c2c3c39bc4db64388b992d4535cbffcd6 (patch)
tree680e01773c8270fb5406906dc26d51fa85db35fa /nx-X11/lib/X11/ChCmap.c
parentc00196d2d178b4ed1866c18ccab76cbb941df6f0 (diff)
downloadnx-libs-d980be3c2c3c39bc4db64388b992d4535cbffcd6.tar.gz
nx-libs-d980be3c2c3c39bc4db64388b992d4535cbffcd6.tar.bz2
nx-libs-d980be3c2c3c39bc4db64388b992d4535cbffcd6.zip
XDefaultOMIF: additional code simplification
Don't need to test for a case that we already returned for, don't need to store a count that will only ever be 1 if we didn't return, don't need to increment pointers to allow storing more than one item when we can only ever possibly do one. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Adam Jackson <ajax@redhat.com> Backported-to-NX-by: Ulrich Sibiller <uli42@gmx.de>
Diffstat (limited to 'nx-X11/lib/X11/ChCmap.c')
0 files changed, 0 insertions, 0 deletions