summaryrefslogtreecommitdiff
path: root/src/xkbtext.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-10-20 01:11:21 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-10-28 20:29:16 -0700
commit455c2f3715456fd88c2741bd2028a9f0a702bb28 (patch)
tree016e6ec804e8270787ee3c8078ce1c3a36bc926c /src/xkbtext.c
parent7544a9eb35d5850ae2e68d8cdab50f25ce7cd5d9 (diff)
downloadxorg-lib-libxkbfile-455c2f3715456fd88c2741bd2028a9f0a702bb28.tar.gz
Don't dereference xkb pointer until after checking it for NULL
Some compilers can perform mind-twistingly evil optimizations if you check for NULL after using it, others just let you segv. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Ran Benita <ran234@gmail.com>
Diffstat (limited to 'src/xkbtext.c')
0 files changed, 0 insertions, 0 deletions