diff options
author | Chih-Hung Hsieh <chh@google.com> | 2014-08-26 10:46:26 -0700 |
---|---|---|
committer | Chih-Hung Hsieh <chh@google.com> | 2014-08-26 12:41:52 -0700 |
commit | 05ff508a793c2113ca2a06942f0cec1aec220799 (patch) | |
tree | e9eec99d6c98c12409c967680fe5a45c43922853 | |
parent | 18921713780edb45ceef327d5fcf3387818300f3 (diff) | |
download | platform_external_android-clat-05ff508a793c2113ca2a06942f0cec1aec220799.tar.gz platform_external_android-clat-05ff508a793c2113ca2a06942f0cec1aec220799.tar.bz2 platform_external_android-clat-05ff508a793c2113ca2a06942f0cec1aec220799.zip |
Remove unused variables.
BUG: 17281763
Change-Id: Ia9cbda2897e46ca757910d59d0cbb6de07d55482
-rw-r--r-- | clatd_test.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clatd_test.cpp b/clatd_test.cpp index b35bf70..9a09b48 100644 --- a/clatd_test.cpp +++ b/clatd_test.cpp @@ -639,7 +639,7 @@ TEST_F(ClatdTest, AdjustChecksum) { { 0x1215, 0x5560, 0x15560 + 20, 0x1200 }, { 0xd0c7, 0x3ad0, 0x2644b, 0xa74a }, }; - unsigned i, failed = 0; + unsigned i = 0; for (i = 0; i < ARRAYSIZE(DATA); i++) { struct checksum_data *data = DATA + i; @@ -672,7 +672,6 @@ TEST_F(ClatdTest, Translate) { } TEST_F(ClatdTest, Fragmentation) { - int len, i; check_fragment_translation(kIPv4Fragments, kIPv4FragLengths, kIPv6Fragments, kIPv6FragLengths, ARRAYSIZE(kIPv4Fragments), "IPv4->IPv6 fragment translation"); |