From 3b29fd16e27c123bd8ad24ffc921309446e765ee Mon Sep 17 00:00:00 2001 From: Peter Pentchev Date: Sun, 22 Aug 2021 13:57:08 +0300 Subject: [PATCH] Drop an unused variable in the Debian-specific test. Reported by: cppcheck --- debian/tests/chunk.c | 1 - 1 file changed, 1 deletion(-) diff --git a/debian/tests/chunk.c b/debian/tests/chunk.c index 4201ced..4b78d13 100644 --- a/debian/tests/chunk.c +++ b/debian/tests/chunk.c @@ -13,7 +13,6 @@ struct chunk_stuff { static struct chunk_stuff get_second_chunk(struct zckCtx * const zck, const size_t chunk_count) { - size_t idx = 0; zckChunk *chunk = zck_get_first_chunk(zck); if (chunk == NULL) errx(1, "zck_get_first_chunk() failed: %s", zck_get_error(zck)); -- 2.30.2