From abcb5dfce1f7b5ac066de37e1ec8d32463c04c9a Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 16 Sep 2011 14:02:53 +0000 Subject: [PATCH] statics are zero, so this is actually not even needed --- src/vpn/gnunet-service-dns.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/vpn/gnunet-service-dns.c b/src/vpn/gnunet-service-dns.c index 72b58f755..4410e5e94 100644 --- a/src/vpn/gnunet-service-dns.c +++ b/src/vpn/gnunet-service-dns.c @@ -1380,18 +1380,8 @@ run (void *cls, struct GNUNET_SERVER_Handle *server, mesh_handle = GNUNET_MESH_connect (cfg_, NULL, NULL, mesh_handlers, apptypes); cfg = cfg_; - - unsigned int i; - - for (i = 0; i < UINT16_MAX + 1; i++) - { - query_states[i].valid = GNUNET_NO; - } - dht = GNUNET_DHT_connect (cfg, 1024); - GNUNET_SCHEDULER_add_now (publish_names, NULL); - GNUNET_SERVER_add_handlers (server, handlers); GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL, &cleanup_task, cls); -- 2.25.1