aboutsummaryrefslogtreecommitdiff
path: root/src/rps/gnunet-rps.c
diff options
context:
space:
mode:
authorJulius Bünger <buenger@mytum.de>2018-09-06 03:15:41 +0200
committerJulius Bünger <buenger@mytum.de>2018-09-06 03:20:55 +0200
commit2b1b981479da64d13d3ae8389964b029e9f268b6 (patch)
treed6b40690c231e398e4ab930657e440679981b829 /src/rps/gnunet-rps.c
parent727f0d8a8735dd638ff2f714f19c8c23852b99ba (diff)
downloadgnunet-2b1b981479da64d13d3ae8389964b029e9f268b6.tar.gz
gnunet-2b1b981479da64d13d3ae8389964b029e9f268b6.zip
Change cosmetics - keep compiler happy
Diffstat (limited to 'src/rps/gnunet-rps.c')
-rw-r--r--src/rps/gnunet-rps.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/rps/gnunet-rps.c b/src/rps/gnunet-rps.c
index b3785a733..03b2c8ab7 100644
--- a/src/rps/gnunet-rps.c
+++ b/src/rps/gnunet-rps.c
@@ -63,6 +63,8 @@ static uint64_t num_view_updates;
63static void 63static void
64do_shutdown (void *cls) 64do_shutdown (void *cls)
65{ 65{
66 (void) cls;
67
66 if (NULL != req_handle) 68 if (NULL != req_handle)
67 GNUNET_RPS_request_cancel (req_handle); 69 GNUNET_RPS_request_cancel (req_handle);
68 GNUNET_RPS_disconnect (rps_handle); 70 GNUNET_RPS_disconnect (rps_handle);
@@ -83,6 +85,7 @@ reply_handle (void *cls,
83 const struct GNUNET_PeerIdentity *recv_peers) 85 const struct GNUNET_PeerIdentity *recv_peers)
84{ 86{
85 uint64_t i; 87 uint64_t i;
88 (void) cls;
86 89
87 req_handle = NULL; 90 req_handle = NULL;
88 for (i = 0; i < n; i++) 91 for (i = 0; i < n; i++)
@@ -108,6 +111,7 @@ view_update_handle (void *cls,
108 const struct GNUNET_PeerIdentity *recv_peers) 111 const struct GNUNET_PeerIdentity *recv_peers)
109{ 112{
110 uint64_t i; 113 uint64_t i;
114 (void) cls;
111 115
112 if (0 == n) 116 if (0 == n)
113 { 117 {
@@ -148,6 +152,8 @@ run (void *cls,
148{ 152{
149 static uint64_t num_peers; 153 static uint64_t num_peers;
150 static struct GNUNET_PeerIdentity zero_pid; 154 static struct GNUNET_PeerIdentity zero_pid;
155 (void) cls;
156 (void) cfgfile;
151 157
152 rps_handle = GNUNET_RPS_connect (cfg); 158 rps_handle = GNUNET_RPS_connect (cfg);
153 if (NULL == rps_handle) 159 if (NULL == rps_handle)