aboutsummaryrefslogtreecommitdiff
path: root/src/set
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-01-18 09:06:41 +0100
committerChristian Grothoff <christian@grothoff.org>2019-01-18 09:06:41 +0100
commita0afe6fbcc277decf4680957abc77fba896cb567 (patch)
tree77a65bf7ef00283222b782bce2059f59d3a9c0eb /src/set
parente3cb893de32c0d29528283fe2a4644994dc2ba8a (diff)
downloadgnunet-a0afe6fbcc277decf4680957abc77fba896cb567.tar.gz
gnunet-a0afe6fbcc277decf4680957abc77fba896cb567.zip
fix compiler warnings
Diffstat (limited to 'src/set')
-rw-r--r--src/set/gnunet-service-set.c1
-rw-r--r--src/set/gnunet-service-set_union.c20
2 files changed, 0 insertions, 21 deletions
diff --git a/src/set/gnunet-service-set.c b/src/set/gnunet-service-set.c
index 0d47504d2..c71eb6edc 100644
--- a/src/set/gnunet-service-set.c
+++ b/src/set/gnunet-service-set.c
@@ -206,7 +206,6 @@ static void
206incoming_destroy (struct Operation *op) 206incoming_destroy (struct Operation *op)
207{ 207{
208 struct Listener *listener; 208 struct Listener *listener;
209 struct GNUNET_CADET_Channel *channel;
210 209
211 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 210 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
212 "Destroying incoming operation %p\n", 211 "Destroying incoming operation %p\n",
diff --git a/src/set/gnunet-service-set_union.c b/src/set/gnunet-service-set_union.c
index 7d7ab27a5..8786807dc 100644
--- a/src/set/gnunet-service-set_union.c
+++ b/src/set/gnunet-service-set_union.c
@@ -1369,26 +1369,6 @@ send_client_element (struct Operation *op,
1369 1369
1370 1370
1371/** 1371/**
1372 * Destroy remote channel.
1373 *
1374 * @param op operation
1375 */
1376static void
1377destroy_channel (struct Operation *op)
1378{
1379 struct GNUNET_CADET_Channel *channel;
1380
1381 if (NULL != (channel = op->channel))
1382 {
1383 /* This will free op; called conditionally as this helper function
1384 is also called from within the channel disconnect handler. */
1385 op->channel = NULL;
1386 GNUNET_CADET_channel_destroy (channel);
1387 }
1388}
1389
1390
1391/**
1392 * Signal to the client that the operation has finished and 1372 * Signal to the client that the operation has finished and
1393 * destroy the operation. 1373 * destroy the operation.
1394 * 1374 *