aboutsummaryrefslogtreecommitdiff
path: root/src/util
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 /src/util
parent8eaf6eafbf7f1bab5f40ade995161ee27a05a84f (diff)
downloadgnunet-5d482d89536a7523d999aeb45d11db12dcd4d764.tar.gz
gnunet-5d482d89536a7523d999aeb45d11db12dcd4d764.zip
-if check is redundant
Diffstat (limited to 'src/util')
-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,
745 service_name, 745 service_name,
746 "UNIXPATH", 746 "UNIXPATH",
747 _ ("not a valid filename")); 747 _ ("not a valid filename"));
748 if (NULL != unixpath) 748 GNUNET_free (unixpath);
749 GNUNET_free (unixpath);
750 return GNUNET_SYSERR; /* UNIXPATH specified but invalid! */ 749 return GNUNET_SYSERR; /* UNIXPATH specified but invalid! */
751 } 750 }
752 GNUNET_free (unixpath); 751 GNUNET_free (unixpath);