- unused variable
authorMatthias Wachs <wachs@net.in.tum.de>
Tue, 14 Feb 2012 14:47:42 +0000 (14:47 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Tue, 14 Feb 2012 14:47:42 +0000 (14:47 +0000)
src/transport/plugin_transport_udp.c

index e5be889773393d89cd952dc7a3af938d792bb71a..78b58eae5bd5392bbbacc7726f2b76ec418528eb 100644 (file)
@@ -1027,7 +1027,6 @@ process_udp_message (struct Plugin *plugin, const struct UDPMessage *msg,
   struct Session * s = NULL;
   struct IPv4UdpAddress u4;
   struct IPv6UdpAddress u6;
-  struct GNUNET_ATS_Information ats;
   const void *arg;
   size_t args;
 
@@ -1043,8 +1042,6 @@ process_udp_message (struct Plugin *plugin, const struct UDPMessage *msg,
     return;
   }
 
-  ats.type = htonl (GNUNET_ATS_NETWORK_TYPE);
-  ats.value = htonl (GNUNET_ATS_NET_UNSPECIFIED);
   /* convert address */
   switch (sender_addr->sa_family)
   {