gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnunet] 01/04: fix warning


From: gnunet
Subject: [gnunet] 01/04: fix warning
Date: Tue, 18 Feb 2020 16:12:41 +0100

This is an automated email from the git hooks/post-receive script.

martin-schanzenbach pushed a commit to branch master
in repository gnunet.

commit 61f7c7d61727a1da4be4b31721503c88d0c86425
Author: Schanzenbach, Martin <address@hidden>
AuthorDate: Fri Feb 14 15:38:25 2020 +0100

    fix warning
---
 src/reclaim/gnunet-service-reclaim.c | 3 ---
 src/reclaim/reclaim_api.c            | 2 --
 2 files changed, 5 deletions(-)

diff --git a/src/reclaim/gnunet-service-reclaim.c 
b/src/reclaim/gnunet-service-reclaim.c
index b617d0ec3..d4d44c3fc 100644
--- a/src/reclaim/gnunet-service-reclaim.c
+++ b/src/reclaim/gnunet-service-reclaim.c
@@ -1907,7 +1907,6 @@ attest_iter_cb (void *cls,
   struct Iterator *ai = cls;
   struct GNUNET_MQ_Envelope *env;
   struct AttestationResultMessage *arm;
-  struct GNUNET_RECLAIM_Attestation *att;
   char *data_tmp;
 
   if ((rd_count != 1) ||
@@ -1916,8 +1915,6 @@ attest_iter_cb (void *cls,
     GNUNET_NAMESTORE_zone_iterator_next (ai->ns_it, 1);
     return;
   }
-  att = GNUNET_RECLAIM_attestation_deserialize (rd->data,
-                                                rd->data_size);
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Found attestation under: %s\n",
               label);
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
diff --git a/src/reclaim/reclaim_api.c b/src/reclaim/reclaim_api.c
index b863789a2..cfe137949 100644
--- a/src/reclaim/reclaim_api.c
+++ b/src/reclaim/reclaim_api.c
@@ -705,11 +705,9 @@ handle_attribute_result (void *cls, const struct 
AttributeResultMessage *msg)
   struct GNUNET_RECLAIM_AttributeIterator *it;
   struct GNUNET_RECLAIM_Operation *op;
   size_t attr_len;
-  size_t attest_len;
   uint32_t r_id = ntohl (msg->id);
 
   attr_len = ntohs (msg->attr_len);
-  attest_len = ntohs (msg->attestation_len);
   LOG (GNUNET_ERROR_TYPE_DEBUG, "Processing attribute result.\n");
 
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]