remove unused value
authorMatthias Wachs <wachs@net.in.tum.de>
Mon, 7 Apr 2014 14:06:55 +0000 (14:06 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Mon, 7 Apr 2014 14:06:55 +0000 (14:06 +0000)
src/transport/gnunet-service-transport_neighbours.c

index a6c9dd0e296c467a7323d91dbfda4efc5232b8c9..1c0329533c6de1fd6d6e54815f71f592e20f72b1 100644 (file)
@@ -2678,7 +2678,6 @@ GST_neighbours_switch_to_address (const struct GNUNET_PeerIdentity *peer,
 {
   struct NeighbourMapEntry *n;
   struct GST_BlacklistCheck *blc;
-  struct GNUNET_TRANSPORT_PluginFunctions *papi;
   struct BlacklistCheckSwitchContext *blc_ctx;
   int c;
 
@@ -2695,7 +2694,7 @@ GST_neighbours_switch_to_address (const struct GNUNET_PeerIdentity *peer,
   }
 
   /* Check if plugin is available */
-  if (NULL == (papi = GST_plugins_find (address->transport_name)))
+  if (NULL == (GST_plugins_find (address->transport_name)))
   {
     /* we don't have the plugin for this address */
     GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,