aboutsummaryrefslogtreecommitdiff
path: root/src/ats
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2014-06-11 09:37:00 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2014-06-11 09:37:00 +0000
commitcb1e64718b1c4debbdea9fe8a3e9c859d7f5e125 (patch)
tree42a97c27aa54e739a4c33c84aca540e0ac720520 /src/ats
parent5db334d7a6a36f1536e4268da7ca87c027ffc5ee (diff)
downloadgnunet-cb1e64718b1c4debbdea9fe8a3e9c859d7f5e125.tar.gz
gnunet-cb1e64718b1c4debbdea9fe8a3e9c859d7f5e125.zip
fixing unused code
Diffstat (limited to 'src/ats')
-rw-r--r--src/ats/plugin_ats_proportional.c4
1 files changed, 1 insertions, 3 deletions
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,
1791 struct AddressSolverInformation *asi; 1791 struct AddressSolverInformation *asi;
1792 int save_active = GNUNET_NO; 1792 int save_active = GNUNET_NO;
1793 1793
1794 struct Network *new_net = NULL;
1795
1796 if (current_network == new_network) 1794 if (current_network == new_network)
1797 { 1795 {
1798 GNUNET_break(0); 1796 GNUNET_break(0);
@@ -1828,7 +1826,7 @@ GAS_proportional_address_change_network (void *solver,
1828 GAS_proportional_address_delete (solver, address, GNUNET_NO); 1826 GAS_proportional_address_delete (solver, address, GNUNET_NO);
1829 1827
1830 /* Set new network type */ 1828 /* Set new network type */
1831 if (NULL == (new_net = get_network (solver, new_network))) 1829 if (NULL == get_network (solver, new_network))
1832 { 1830 {
1833 /* Address changed to invalid network... */ 1831 /* Address changed to invalid network... */
1834 LOG(GNUNET_ERROR_TYPE_ERROR, 1832 LOG(GNUNET_ERROR_TYPE_ERROR,