diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-12-26 09:26:13 -0800 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2016-10-19 21:40:29 +0200 |
commit | 101419b10ea0fcaf9b3e48d733a510f27f827919 (patch) | |
tree | bf52eaa217dbe6493abcd66959e9114655542a77 /nx-X11/lib/X11/CrGC.c | |
parent | 1b0df5da6d70f306db248907bdf65fe2e3ba4005 (diff) | |
download | nx-libs-101419b10ea0fcaf9b3e48d733a510f27f827919.tar.gz nx-libs-101419b10ea0fcaf9b3e48d733a510f27f827919.tar.bz2 nx-libs-101419b10ea0fcaf9b3e48d733a510f27f827919.zip |
_XkbReadGeomOverlay: check for NULL first, then use pointer
Flagged by cppcheck 1.62:
[lib/libX11/nx-X11/lib/X11/XKBGeom.c:479] -> [lib/libX11/nx-X11/lib/X11/XKBGeom.c:480]:
(warning) Possible null pointer dereference: row - otherwise it is
redundant to check it against null.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Backported-to-NX-by: Ulrich Sibiller <uli42@gmx.de>
Diffstat (limited to 'nx-X11/lib/X11/CrGC.c')
0 files changed, 0 insertions, 0 deletions