statics are zero, so this is actually not even needed
authorChristian Grothoff <christian@grothoff.org>
Fri, 16 Sep 2011 14:02:53 +0000 (14:02 +0000)
committerChristian Grothoff <christian@grothoff.org>
Fri, 16 Sep 2011 14:02:53 +0000 (14:02 +0000)
src/vpn/gnunet-service-dns.c

index 72b58f75535bd5fe2366c6739d7841261229982f..4410e5e9436858711eab3e95ab8885c064bbc6b4 100644 (file)
@@ -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);