gnunet-svn
[Top][All Lists]
Advanced

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

[gnunet] branch master updated: BUILD: Fix more warnings.


From: gnunet
Subject: [gnunet] branch master updated: BUILD: Fix more warnings.
Date: Mon, 23 Oct 2023 22:03:40 +0200

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

martin-schanzenbach pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new ca0181dab BUILD: Fix more warnings.
ca0181dab is described below

commit ca0181dab5d356b6d6373fc0958e6f9ba4da7401
Author: Martin Schanzenbach <schanzen@gnunet.org>
AuthorDate: Mon Oct 23 22:03:36 2023 +0200

    BUILD: Fix more warnings.
---
 src/service/testing/testing_api_cmd_start_peer.c | 1 -
 src/service/testing/testing_api_loop.c           | 6 +++++-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/service/testing/testing_api_cmd_start_peer.c 
b/src/service/testing/testing_api_cmd_start_peer.c
index e2a2c0fbf..cd4536131 100644
--- a/src/service/testing/testing_api_cmd_start_peer.c
+++ b/src/service/testing/testing_api_cmd_start_peer.c
@@ -279,7 +279,6 @@ GNUNET_TESTING_cmd_start_peer (const char *label,
   struct GNUNET_TESTING_StartPeerState *sps;
   struct GNUNET_CONTAINER_MultiShortmap *connected_peers_map =
     GNUNET_CONTAINER_multishortmap_create (1,GNUNET_NO);
-  unsigned int i;
 
   sps = GNUNET_new (struct GNUNET_TESTING_StartPeerState);
   sps->no = no;
diff --git a/src/service/testing/testing_api_loop.c 
b/src/service/testing/testing_api_loop.c
index db0a00c22..11cd02ec0 100644
--- a/src/service/testing/testing_api_loop.c
+++ b/src/service/testing/testing_api_loop.c
@@ -738,7 +738,7 @@ GNUNET_TESTING_add_netjail_helper (struct 
GNUNET_TESTING_Interpreter *is,
  * @param global_node_number The netjail node to inform.
  * @param header The message to send.
  */
-void
+static void
 send_message_to_netjail (struct GNUNET_TESTING_Interpreter *is,
                          unsigned int global_node_number,
                          struct GNUNET_MessageHeader *header)
@@ -749,6 +749,10 @@ send_message_to_netjail (struct GNUNET_TESTING_Interpreter 
*is,
               "send message of type %u to locals\n",
               ntohs (header->type));
   helper = is->helper[global_node_number - 1];
+  /**
+     FIXME: This should probably be put into a linked list
+     inside is and cleaned up at some point.
+  */
   struct GNUNET_HELPER_SendHandle *sh = GNUNET_HELPER_send (
     (struct GNUNET_HELPER_Handle *) helper,
     header,

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

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