summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2014-12-01 20:12:12 -0500
committerirungentoo <irungentoo@gmail.com>2014-12-01 20:12:12 -0500
commitb58fb09ddc60d1d4a99b9e8bedb4c064ec2b8f81 (patch)
tree276b6da97d40a0f2391dd179459b77984bb8dfb1
parenta6e1a7477916c666c7d8b56864bdd3e73c6fb567 (diff)
Removed useless code.
-rw-r--r--toxcore/group.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/toxcore/group.c b/toxcore/group.c
index 3d060bf0..9a174251 100644
--- a/toxcore/group.c
+++ b/toxcore/group.c
@@ -1388,9 +1388,6 @@ static int handle_packet_online(Group_Chats *g_c, int friendcon_id, uint8_t *dat
1388 1388
1389 if (g->number_joined != -1 && count_close_connected(g) >= DESIRED_CLOSE_CONNECTIONS) { 1389 if (g->number_joined != -1 && count_close_connected(g) >= DESIRED_CLOSE_CONNECTIONS) {
1390 int fr_close_index = friend_in_close(g, g->number_joined); 1390 int fr_close_index = friend_in_close(g, g->number_joined);
1391 uint8_t real_pk[crypto_box_PUBLICKEYBYTES];
1392 uint8_t dht_temp_pk[crypto_box_PUBLICKEYBYTES];
1393 get_friendcon_public_keys(real_pk, dht_temp_pk, g_c->fr_c, g->number_joined);
1394 1391
1395 if (fr_close_index == -1) 1392 if (fr_close_index == -1)
1396 return -1; 1393 return -1;