From cb1e64718b1c4debbdea9fe8a3e9c859d7f5e125 Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Wed, 11 Jun 2014 09:37:00 +0000 Subject: fixing unused code --- src/ats/plugin_ats_proportional.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/ats') diff --git a/src/ats/plugin_ats_proportional.c b/src/ats/plugin_ats_proportional.c index 61d58cb26..35d294145 100644 --- a/src/ats/plugin_ats_proportional.c +++ b/src/ats/plugin_ats_proportional.c @@ -1791,8 +1791,6 @@ GAS_proportional_address_change_network (void *solver, 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_change_network (void *solver, 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, -- cgit v1.2.3