From ac6a216c584532e9fa3c4ef90c0e2eb03528ad55 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Fri, 17 Mar 2017 14:06:15 +0000 Subject: 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) ^~ --- nx-X11/lib/src/Xrm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nx-X11/lib') 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 */ } } -- cgit v1.2.3