aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2014-04-07 14:26:16 +0000
committerBart Polot <bart@net.in.tum.de>2014-04-07 14:26:16 +0000
commitcaadc021c3ee667469ffe6d7db0da75a4ff9b77f (patch)
tree6772f0ef5cf814ed5410478dda18fef6719b9923
parent08bda445f0dd078d712c462d4809f26131da3272 (diff)
downloadgnunet-caadc021c3ee667469ffe6d7db0da75a4ff9b77f.tar.gz
gnunet-caadc021c3ee667469ffe6d7db0da75a4ff9b77f.zip
- fix dead code covertiy 12876
-rw-r--r--src/mesh/gnunet-service-mesh_hello.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/mesh/gnunet-service-mesh_hello.c b/src/mesh/gnunet-service-mesh_hello.c
index 723989bf8..599cc3731 100644
--- a/src/mesh/gnunet-service-mesh_hello.c
+++ b/src/mesh/gnunet-service-mesh_hello.c
@@ -106,13 +106,8 @@ got_hello (void *cls, const struct GNUNET_PeerIdentity *id,
106 return; 106 return;
107 } 107 }
108 LOG (GNUNET_ERROR_TYPE_DEBUG, " hello for %s (%d bytes), expires on %s\n", 108 LOG (GNUNET_ERROR_TYPE_DEBUG, " hello for %s (%d bytes), expires on %s\n",
109 GNUNET_i2s (id), NULL != hello ? GNUNET_HELLO_size (hello) : -1, 109 GNUNET_i2s (id), GNUNET_HELLO_size (hello),
110 GNUNET_STRINGS_absolute_time_to_string (GNUNET_HELLO_get_last_expiration(hello))); 110 GNUNET_STRINGS_absolute_time_to_string (GNUNET_HELLO_get_last_expiration(hello)));
111 if (NULL == hello)
112 {
113 LOG (GNUNET_ERROR_TYPE_DEBUG, " hello is NULL\n");
114 return;
115 }
116 peer = GMP_get (id); 111 peer = GMP_get (id);
117 GMP_set_hello (peer, hello); 112 GMP_set_hello (peer, hello);
118 113