summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-08-08 17:17:09 +0200
committerChristian Grothoff <christian@grothoff.org>2021-08-08 17:17:09 +0200
commit5d482d89536a7523d999aeb45d11db12dcd4d764 (patch)
tree56b74e9b87cf73522d8c2a57ee354012ce9ded5c
parent8eaf6eafbf7f1bab5f40ade995161ee27a05a84f (diff)
-if check is redundant
-rw-r--r--src/util/client.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/util/client.c b/src/util/client.c
index febc36508..4e5eca32a 100644
--- a/src/util/client.c
+++ b/src/util/client.c
@@ -745,8 +745,7 @@ test_service_configuration (const char *service_name,
service_name,
"UNIXPATH",
_ ("not a valid filename"));
- if (NULL != unixpath)
- GNUNET_free (unixpath);
+ GNUNET_free (unixpath);
return GNUNET_SYSERR; /* UNIXPATH specified but invalid! */
}
GNUNET_free (unixpath);