From d14d5838b6c10388d9b8fd320721536ed72d3c8d Mon Sep 17 00:00:00 2001 From: Mario Trangoni Date: Mon, 1 Jan 2018 17:19:33 +0100 Subject: Fix clang error: comparison of array authCookie not equal to a null pointer is always true --- nxcomp/src/Loop.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nxcomp') diff --git a/nxcomp/src/Loop.cpp b/nxcomp/src/Loop.cpp index 5365a99cf..f22053cc6 100644 --- a/nxcomp/src/Loop.cpp +++ b/nxcomp/src/Loop.cpp @@ -3573,7 +3573,7 @@ int SetupAuthInstance() if (control -> ProxyMode == proxy_server) { - if (authCookie != NULL && *authCookie != '\0') + if (*authCookie != '\0') { if (useLaunchdSocket == 1) { -- cgit v1.2.3