diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-08-08 17:17:09 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-08-08 17:17:09 +0200 |
commit | 5d482d89536a7523d999aeb45d11db12dcd4d764 (patch) | |
tree | 56b74e9b87cf73522d8c2a57ee354012ce9ded5c /src/util/client.c | |
parent | 8eaf6eafbf7f1bab5f40ade995161ee27a05a84f (diff) | |
download | gnunet-5d482d89536a7523d999aeb45d11db12dcd4d764.tar.gz gnunet-5d482d89536a7523d999aeb45d11db12dcd4d764.zip |
-if check is redundant
Diffstat (limited to 'src/util/client.c')
-rw-r--r-- | src/util/client.c | 3 |
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); |