aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-03-17 14:06:15 +0000
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-12-14 10:40:32 +0100
commitac6a216c584532e9fa3c4ef90c0e2eb03528ad55 (patch)
treec9d4a76b25aef39080aa8efaabc15513ec60bc1a /nx-X11/lib
parenta6ffabda67a703f6ba7091db9ad8eed623bc4347 (diff)
downloadnx-libs-ac6a216c584532e9fa3c4ef90c0e2eb03528ad55.tar.gz
nx-libs-ac6a216c584532e9fa3c4ef90c0e2eb03528ad55.tar.bz2
nx-libs-ac6a216c584532e9fa3c4ef90c0e2eb03528ad55.zip
lib/X11/Xrm.c: Compiler warning fix: logical-not-parentheses
Xrm.c: In function 'PutEntry': Xrm.c:900:15: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] !quarks[2] != table->leaf) ^~
Diffstat (limited to 'nx-X11/lib')
-rw-r--r--nx-X11/lib/src/Xrm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/lib/src/Xrm.c b/nx-X11/lib/src/Xrm.c
index e3587d021..c285e4221 100644
--- a/nx-X11/lib/src/Xrm.c
+++ b/nx-X11/lib/src/Xrm.c
@@ -897,7 +897,7 @@ static void PutEntry(
/* bump to loose table, if any */
table = *(prev = &table->next);
if (!table || table->name != q ||
- !quarks[2] != table->leaf)
+ (!quarks[2]) != table->leaf)
break; /* not found */
}
}