gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r33638 - gnunet/src/ats


From: gnunet
Subject: [GNUnet-SVN] r33638 - gnunet/src/ats
Date: Wed, 11 Jun 2014 11:37:01 +0200

Author: wachs
Date: 2014-06-11 11:37:00 +0200 (Wed, 11 Jun 2014)
New Revision: 33638

Modified:
   gnunet/src/ats/plugin_ats_proportional.c
Log:
fixing unused code


Modified: gnunet/src/ats/plugin_ats_proportional.c
===================================================================
--- gnunet/src/ats/plugin_ats_proportional.c    2014-06-11 09:36:05 UTC (rev 
33637)
+++ gnunet/src/ats/plugin_ats_proportional.c    2014-06-11 09:37:00 UTC (rev 
33638)
@@ -1791,8 +1791,6 @@
   struct AddressSolverInformation *asi;
   int save_active = GNUNET_NO;
 
-  struct Network *new_net = NULL;
-
   if (current_network == new_network)
   {
     GNUNET_break(0);
@@ -1828,7 +1826,7 @@
   GAS_proportional_address_delete (solver, address, GNUNET_NO);
 
   /* Set new network type */
-  if (NULL == (new_net = get_network (solver, new_network)))
+  if (NULL == get_network (solver, new_network))
   {
     /* Address changed to invalid network... */
     LOG(GNUNET_ERROR_TYPE_ERROR,




reply via email to

[Prev in Thread] Current Thread [Next in Thread]