summaryrefslogtreecommitdiff
path: root/src/transport
diff options
context:
space:
mode:
authort3sserakt <t3ss@posteo.de>2021-07-31 16:20:23 +0200
committert3sserakt <t3ss@posteo.de>2021-07-31 16:28:23 +0200
commit285f958a5190d185ecee70248473e63af5759ad8 (patch)
tree0e240bef0ec1476d185808c38c825caf3e444881 /src/transport
parentaa0f0adef22bdaf4cb1b9b6e16d7a57af5e7fc20 (diff)
- removed warnings
Diffstat (limited to 'src/transport')
-rw-r--r--src/transport/transport_api_cmd_connecting_peers.c6
-rw-r--r--src/transport/transport_api_cmd_send_simple.c4
-rw-r--r--src/transport/transport_api_cmd_start_peer.c2
3 files changed, 6 insertions, 6 deletions
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,