From 2edceb1fb10be1838a6271a701487cb053f06b75 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sun, 19 Feb 2012 23:49:43 +0900 Subject: [PATCH] Fixed compiler warning --- tests/spdylay_frame_test.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/spdylay_frame_test.c b/tests/spdylay_frame_test.c index 9d13b8c..2a999a1 100644 --- a/tests/spdylay_frame_test.c +++ b/tests/spdylay_frame_test.c @@ -62,7 +62,6 @@ void test_spdylay_frame_unpack_nv() void test_spdylay_frame_pack_nv_duplicate_keys() { - int i; uint8_t out[1024]; const char *nv_src[] = { "method", "GET", @@ -76,7 +75,7 @@ void test_spdylay_frame_pack_nv_duplicate_keys() char **nv = spdylay_frame_nv_copy(nv_src); spdylay_frame_nv_downcase(nv); spdylay_frame_nv_sort(nv); - size_t inlen = spdylay_frame_pack_nv(out, nv); + /* size_t inlen = */ spdylay_frame_pack_nv(out, nv); const uint8_t *outptr = out; int pairs = spdylay_get_uint16(outptr); CU_ASSERT(pairs == 5);