diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-02-08 11:46:36 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-02-08 11:46:36 +0000 |
commit | 6115a1150c65bd4a33ed61c6e96594c4a73d86ac (patch) | |
tree | f2bb2a57f540a3799cd112b5235f1c4222fd283e /src/ats-tests | |
parent | cd0a6e382eafd7fd241a00a10527333d73985fca (diff) | |
download | gnunet-6115a1150c65bd4a33ed61c6e96594c4a73d86ac.tar.gz gnunet-6115a1150c65bd4a33ed61c6e96594c4a73d86ac.zip |
more dead and duplicate code elimination
Diffstat (limited to 'src/ats-tests')
-rw-r--r-- | src/ats-tests/ats-testing.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/ats-tests/ats-testing.c b/src/ats-tests/ats-testing.c index c90cbf3c7..a566a242c 100644 --- a/src/ats-tests/ats-testing.c +++ b/src/ats-tests/ats-testing.c | |||
@@ -613,21 +613,6 @@ ats_performance_info_cb (void *cls, | |||
613 | p->ats_distance = ntohl (ats[c_a].value); | 613 | p->ats_distance = ntohl (ats[c_a].value); |
614 | GNUNET_break (0); | 614 | GNUNET_break (0); |
615 | break; | 615 | break; |
616 | case GNUNET_ATS_COST_WAN: | ||
617 | if (p->ats_cost_wan != ntohl (ats[c_a].value)) | ||
618 | log = GNUNET_YES; | ||
619 | p->ats_cost_wan = ntohl (ats[c_a].value); | ||
620 | break; | ||
621 | case GNUNET_ATS_COST_LAN: | ||
622 | if (p->ats_cost_lan != ntohl (ats[c_a].value)) | ||
623 | log = GNUNET_YES; | ||
624 | p->ats_cost_lan = ntohl (ats[c_a].value); | ||
625 | break; | ||
626 | case GNUNET_ATS_COST_WLAN: | ||
627 | if (p->ats_cost_wlan != ntohl (ats[c_a].value)) | ||
628 | log = GNUNET_YES; | ||
629 | p->ats_cost_wlan = ntohl (ats[c_a].value); | ||
630 | break; | ||
631 | default: | 616 | default: |
632 | break; | 617 | break; |
633 | } | 618 | } |