diff options
author | Jörg Sonnenberger <joerg@NetBSD.org> | 2014-11-26 14:33:38 +0100 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2014-11-27 07:50:24 +1000 |
commit | 9fa04388dcbb5bf205319569f540a62c03754688 (patch) | |
tree | 467bd791fc847e57f57e611f4ec7699ef7b47625 | |
parent | 8a2381c13aecfdb42d85967e060c8818b86119d2 (diff) |
Remove unnecessary check.
The vmods member of XkbNamesPtr is an array and thus never NULL.
Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | src/cout.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -45,7 +45,7 @@ WriteCHdrVMods(FILE *file, Display *dpy, XkbDescPtr xkb) { register int i, nOut; - if ((!xkb) || (!xkb->names) || (!xkb->names->vmods)) + if ((!xkb) || (!xkb->names)) return False; for (i = nOut = 0; i < XkbNumVirtualMods; i++) { if (xkb->names->vmods[i] != None) { |