From 61f7c7d61727a1da4be4b31721503c88d0c86425 Mon Sep 17 00:00:00 2001 From: "Schanzenbach, Martin" Date: Fri, 14 Feb 2020 15:38:25 +0100 Subject: [PATCH] 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"); -- 2.25.1