aboutsummaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-08-13 22:47:27 +0000
committerChristian Grothoff <christian@grothoff.org>2013-08-13 22:47:27 +0000
commit4f4182f72a4148de7576e27f9545b8f6ca9a5728 (patch)
tree0b2faaa8c8f1483fab2009b66d497ed30b8ab918 /src/core
parent96889733a64ad9e358c89386153cabb1d2cd99b0 (diff)
downloadgnunet-4f4182f72a4148de7576e27f9545b8f6ca9a5728.tar.gz
gnunet-4f4182f72a4148de7576e27f9545b8f6ca9a5728.zip
-dead code elimination
Diffstat (limited to 'src/core')
-rw-r--r--src/core/gnunet-service-core_clients.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/core/gnunet-service-core_clients.c b/src/core/gnunet-service-core_clients.c
index db72f147a..63c3b79be 100644
--- a/src/core/gnunet-service-core_clients.c
+++ b/src/core/gnunet-service-core_clients.c
@@ -722,13 +722,6 @@ GSC_CLIENTS_notify_client_about_neighbour (struct GSC_Client *client,
722 NULL, 722 NULL,
723 GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_ONLY)); 723 GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_ONLY));
724 size = sizeof (struct ConnectNotifyMessage); 724 size = sizeof (struct ConnectNotifyMessage);
725 if (size >= GNUNET_SERVER_MAX_MESSAGE_SIZE)
726 {
727 GNUNET_break (0);
728 /* recovery strategy: throw away performance data */
729 atsi_count = 0;
730 size = sizeof (struct ConnectNotifyMessage);
731 }
732 cnm = (struct ConnectNotifyMessage *) buf; 725 cnm = (struct ConnectNotifyMessage *) buf;
733 cnm->header.size = htons (size); 726 cnm->header.size = htons (size);
734 cnm->header.type = htons (GNUNET_MESSAGE_TYPE_CORE_NOTIFY_CONNECT); 727 cnm->header.type = htons (GNUNET_MESSAGE_TYPE_CORE_NOTIFY_CONNECT);