[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] branch master updated: -simplify
From: |
gnunet |
Subject: |
[gnunet] branch master updated: -simplify |
Date: |
Sat, 05 Mar 2022 09:01:20 +0100 |
This is an automated email from the git hooks/post-receive script.
martin-schanzenbach pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new 1f240bd13 -simplify
1f240bd13 is described below
commit 1f240bd13fbbe28b1610fe10d298afcd7c61b81e
Author: Martin Schanzenbach <schanzen@gnunet.org>
AuthorDate: Sat Mar 5 09:01:15 2022 +0100
-simplify
---
src/fs/fs_uri.c | 12 ++++--------
1 file changed, 4 insertions(+), 8 deletions(-)
diff --git a/src/fs/fs_uri.c b/src/fs/fs_uri.c
index dff94ee26..2d5566b54 100644
--- a/src/fs/fs_uri.c
+++ b/src/fs/fs_uri.c
@@ -659,20 +659,16 @@ GNUNET_FS_uri_parse (const char *uri, char **emsg)
msg = NULL;
if (NULL != (ret = uri_chk_parse (uri, &msg)))
return ret;
- if (NULL != msg)
- GNUNET_free (msg);
+ GNUNET_free (msg);
if (NULL != (ret = uri_ksk_parse (uri, &msg)))
return ret;
- if (NULL != msg)
- GNUNET_free (msg);
+ GNUNET_free (msg);
if (NULL != (ret = uri_sks_parse (uri, &msg)))
return ret;
- if (NULL != msg)
- GNUNET_free (msg);
+ GNUNET_free (msg);
if (NULL != (ret = uri_loc_parse (uri, &msg)))
return ret;
- if (NULL != msg)
- GNUNET_free (msg);
+ GNUNET_free (msg);
if (NULL != emsg)
*emsg = GNUNET_strdup (_ ("Unrecognized URI type"));
return NULL;
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnunet] branch master updated: -simplify,
gnunet <=