diff options
author | Julius Bünger <buenger@mytum.de> | 2018-09-06 03:15:41 +0200 |
---|---|---|
committer | Julius Bünger <buenger@mytum.de> | 2018-09-06 03:20:55 +0200 |
commit | 2b1b981479da64d13d3ae8389964b029e9f268b6 (patch) | |
tree | d6b40690c231e398e4ab930657e440679981b829 /src/rps/rps_api.c | |
parent | 727f0d8a8735dd638ff2f714f19c8c23852b99ba (diff) | |
download | gnunet-2b1b981479da64d13d3ae8389964b029e9f268b6.tar.gz gnunet-2b1b981479da64d13d3ae8389964b029e9f268b6.zip |
Change cosmetics - keep compiler happy
Diffstat (limited to 'src/rps/rps_api.c')
-rw-r--r-- | src/rps/rps_api.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rps/rps_api.c b/src/rps/rps_api.c index ca80e25e8..ac462f3a0 100644 --- a/src/rps/rps_api.c +++ b/src/rps/rps_api.c | |||
@@ -158,6 +158,7 @@ resend_requests_iterator (void *cls, uint32_t key, void *value) | |||
158 | { | 158 | { |
159 | const struct GNUNET_RPS_Handle *h = cls; | 159 | const struct GNUNET_RPS_Handle *h = cls; |
160 | const struct GNUNET_RPS_Request_Handle *req_handle = value; | 160 | const struct GNUNET_RPS_Request_Handle *req_handle = value; |
161 | (void) key; | ||
161 | 162 | ||
162 | send_request (h, req_handle->id, req_handle->num_peers); | 163 | send_request (h, req_handle->id, req_handle->num_peers); |
163 | return GNUNET_YES; /* continue iterating */ | 164 | return GNUNET_YES; /* continue iterating */ |
@@ -195,6 +196,7 @@ check_reply (void *cls, | |||
195 | { | 196 | { |
196 | uint16_t msize = ntohs (msg->header.size); | 197 | uint16_t msize = ntohs (msg->header.size); |
197 | uint32_t num_peers = ntohl (msg->num_peers); | 198 | uint32_t num_peers = ntohl (msg->num_peers); |
199 | (void) cls; | ||
198 | 200 | ||
199 | msize -= sizeof (struct GNUNET_RPS_CS_ReplyMessage); | 201 | msize -= sizeof (struct GNUNET_RPS_CS_ReplyMessage); |
200 | if ( (msize / sizeof (struct GNUNET_PeerIdentity) != num_peers) || | 202 | if ( (msize / sizeof (struct GNUNET_PeerIdentity) != num_peers) || |
@@ -289,6 +291,7 @@ check_view_update (void *cls, | |||
289 | { | 291 | { |
290 | uint16_t msize = ntohs (msg->header.size); | 292 | uint16_t msize = ntohs (msg->header.size); |
291 | uint32_t num_peers = ntohl (msg->num_peers); | 293 | uint32_t num_peers = ntohl (msg->num_peers); |
294 | (void) cls; | ||
292 | 295 | ||
293 | msize -= sizeof (struct GNUNET_RPS_CS_DEBUG_ViewReply); | 296 | msize -= sizeof (struct GNUNET_RPS_CS_DEBUG_ViewReply); |
294 | if ( (msize / sizeof (struct GNUNET_PeerIdentity) != num_peers) || | 297 | if ( (msize / sizeof (struct GNUNET_PeerIdentity) != num_peers) || |