gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnunet] 01/02: fix compiler warnings


From: gnunet
Subject: [GNUnet-SVN] [gnunet] 01/02: fix compiler warnings
Date: Mon, 21 Jan 2019 02:10:14 +0100

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

grothoff pushed a commit to branch master
in repository gnunet.

commit a0afe6fbcc277decf4680957abc77fba896cb567
Author: Christian Grothoff <address@hidden>
AuthorDate: Fri Jan 18 09:06:41 2019 +0100

    fix compiler warnings
---
 src/set/gnunet-service-set.c       |  1 -
 src/set/gnunet-service-set_union.c | 20 --------------------
 2 files changed, 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
 incoming_destroy (struct Operation *op)
 {
   struct Listener *listener;
-  struct GNUNET_CADET_Channel *channel;
 
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
               "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
@@ -1368,26 +1368,6 @@ send_client_element (struct Operation *op,
 }
 
 
-/**
- * Destroy remote channel.
- *
- * @param op operation
- */
-static void
-destroy_channel (struct Operation *op)
-{
-  struct GNUNET_CADET_Channel *channel;
-
-  if (NULL != (channel = op->channel))
-  {
-    /* This will free op; called conditionally as this helper function
-       is also called from within the channel disconnect handler. */
-    op->channel = NULL;
-    GNUNET_CADET_channel_destroy (channel);
-  }
-}
-
-
 /**
  * Signal to the client that the operation has finished and
  * destroy the operation.

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



reply via email to

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