[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] branch master updated: - removed warnings
From: |
gnunet |
Subject: |
[gnunet] branch master updated: - removed warnings |
Date: |
Sat, 31 Jul 2021 16:23:56 +0200 |
This is an automated email from the git hooks/post-receive script.
t3sserakt pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new 296b1c64c - removed warnings
296b1c64c is described below
commit 296b1c64c7b8392804ab230b2e6c393f1e08f888
Author: t3sserakt <t3ss@posteo.de>
AuthorDate: Sat Jul 31 16:20:23 2021 +0200
- removed warnings
---
src/testbed/gnunet-cmds-helper.c | 12 ++++++------
src/transport/transport_api_cmd_connecting_peers.c | 6 +++---
src/transport/transport_api_cmd_send_simple.c | 4 ++--
src/transport/transport_api_cmd_start_peer.c | 2 +-
4 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/src/testbed/gnunet-cmds-helper.c b/src/testbed/gnunet-cmds-helper.c
index 7cb753c23..23db79f58 100644
--- a/src/testbed/gnunet-cmds-helper.c
+++ b/src/testbed/gnunet-cmds-helper.c
@@ -1,4 +1,4 @@
-/*
+goto-l/*
This file is part of GNUnet
Copyright (C) 2008--2013, 2016 GNUnet e.V.
@@ -124,8 +124,8 @@ struct Plugin *plugin;
/**
* The process handle to the testbed service
- */
-static struct GNUNET_OS_Process *cmd_binary_process;
+
+static struct GNUNET_OS_Process *cmd_binary_process;*/
/**
* Handle to the testing system
@@ -276,7 +276,7 @@ write_task (void *cls)
*
* @param cls closure, NULL if we need to self-restart
*/
-static void
+/*static void
child_death_task (void *cls)
{
const struct GNUNET_DISK_FileHandle *pr;
@@ -284,7 +284,7 @@ child_death_task (void *cls)
pr = GNUNET_DISK_pipe_handle (sigpipe, GNUNET_DISK_PIPE_END_READ);
child_death_task_id = NULL;
- /* consume the signal */
+ /* consume the signal
GNUNET_break (0 < GNUNET_DISK_file_read (pr, &c, sizeof(c)));
LOG_DEBUG ("Got SIGCHLD\n");
@@ -294,7 +294,7 @@ child_death_task (void *cls)
pr,
&child_death_task,
NULL);
-}
+}*/
static void
diff --git a/src/transport/transport_api_cmd_connecting_peers.c
b/src/transport/transport_api_cmd_connecting_peers.c
index f4b2e935f..3148806c7 100644
--- a/src/transport/transport_api_cmd_connecting_peers.c
+++ b/src/transport/transport_api_cmd_connecting_peers.c
@@ -53,13 +53,13 @@ connect_peers_run (void *cls,
{
struct ConnectPeersState *cps = cls;
const struct GNUNET_TESTING_Command *peer1_cmd;
- const struct GNUNET_TESTING_Command *peer2_cmd;
+ //const struct GNUNET_TESTING_Command *peer2_cmd;
struct GNUNET_TRANSPORT_ApplicationHandle *ah;
struct GNUNET_PeerIdentity *peer = GNUNET_new (struct GNUNET_PeerIdentity);
char *addr;
- struct GNUNET_TIME_Absolute t;
+ //struct GNUNET_TIME_Absolute t;
char *hello;
- size_t *hello_size;
+ //size_t *hello_size;
enum GNUNET_NetworkType nt = 0;
char *peer_id;
diff --git a/src/transport/transport_api_cmd_send_simple.c
b/src/transport/transport_api_cmd_send_simple.c
index 6e7b89497..8d652563f 100644
--- a/src/transport/transport_api_cmd_send_simple.c
+++ b/src/transport/transport_api_cmd_send_simple.c
@@ -72,9 +72,9 @@ send_simple_run (void *cls,
struct GNUNET_TRANSPORT_TESTING_TestMessage *test;
struct GNUNET_MQ_Handle *mq;
struct GNUNET_CONTAINER_MultiShortmap *connected_peers_map;
- struct GNUNET_PeerIdentity *id;
+ //struct GNUNET_PeerIdentity *id;
const struct GNUNET_TESTING_Command *peer1_cmd;
- const struct GNUNET_TESTING_Command *peer2_cmd;
+ //const struct GNUNET_TESTING_Command *peer2_cmd;
struct GNUNET_ShortHashCode *key = GNUNET_new (struct GNUNET_ShortHashCode);
struct GNUNET_HashCode hc;
int node_number;
diff --git a/src/transport/transport_api_cmd_start_peer.c
b/src/transport/transport_api_cmd_start_peer.c
index b2b26194a..8696a99dc 100644
--- a/src/transport/transport_api_cmd_start_peer.c
+++ b/src/transport/transport_api_cmd_start_peer.c
@@ -196,7 +196,7 @@ notify_connect (void *cls,
struct GNUNET_HashCode hc;
int node_number;
- void *ret;
+ void *ret = NULL;
LOG (GNUNET_ERROR_TYPE_DEBUG,
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [gnunet] branch master updated: - removed warnings,
gnunet <=