Skip to content

Commit 0421dab

Browse files
jwangtbeu
authored andcommitted
removing unused vars
1 parent 60930f4 commit 0421dab

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

test/msgpack_c.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1359,9 +1359,7 @@ TEST(MSGPACKC, vreff_buffer_overflow)
13591359
msgpack_vrefbuffer vbuf;
13601360
msgpack_vrefbuffer to;
13611361
size_t ref_size = 0;
1362-
size_t len = 0x1000;
13631362
size_t chunk_size = std::numeric_limits<size_t>::max();
1364-
char *buf = (char *)malloc(len);
13651363
EXPECT_FALSE(msgpack_vrefbuffer_init(&vbuf, ref_size, chunk_size));
13661364
EXPECT_EQ(-1, msgpack_vrefbuffer_migrate(&vbuf, &to));
13671365
}

0 commit comments

Comments
 (0)