aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMario Trangoni <mjtrangoni@gmail.com>2018-01-01 17:19:33 +0100
committerMario Trangoni <mjtrangoni@gmail.com>2018-03-01 20:56:13 +0100
commitd14d5838b6c10388d9b8fd320721536ed72d3c8d (patch)
tree4cf4318840493e4b795ff67af984d2145c34749c
parente1ad1d473f1ff3cdded80879398beb45422c2158 (diff)
downloadnx-libs-d14d5838b6c10388d9b8fd320721536ed72d3c8d.tar.gz
nx-libs-d14d5838b6c10388d9b8fd320721536ed72d3c8d.tar.bz2
nx-libs-d14d5838b6c10388d9b8fd320721536ed72d3c8d.zip
Fix clang error: comparison of array authCookie not equal to a null pointer is always true
-rw-r--r--nxcomp/src/Loop.cpp2
1 files changed, 1 insertions, 1 deletions
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)
{