diff --git a/ft/tests/cachetable-checkpointer-class.cc b/ft/tests/cachetable-checkpointer-class.cc
index cbceaf6510c349a142feb09b0c677c507de8567e..a7135790117e899261d976c985bf08cbbc52b6e3 100644
--- a/ft/tests/cachetable-checkpointer-class.cc
+++ b/ft/tests/cachetable-checkpointer-class.cc
@@ -261,6 +261,7 @@ void checkpointer_test::test_end_checkpoint() {
     // 2. Add data before running checkpoint.
     const uint32_t count = 6;
     ctpair pairs[count];
+    ZERO_ARRAY(pairs);
     add_pairs(&cf, pairs, count / 2, 0);
     assert(m_cp.m_list->m_n_in_table == count / 2);