projects
/
zchunk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f64a50c
)
Drop an unused variable in the Debian-specific test.
author
Peter Pentchev
<roam@debian.org>
Sun, 22 Aug 2021 10:57:08 +0000
(13:57 +0300)
committer
Peter Pentchev
<roam@debian.org>
Sun, 22 Aug 2021 11:10:00 +0000
(14:10 +0300)
Reported by: cppcheck
debian/tests/chunk.c
patch
|
blob
|
history
diff --git
a/debian/tests/chunk.c
b/debian/tests/chunk.c
index 4201ced5e31ecbb6b3c531828e47c7649a945cb7..4b78d13d6a70dc59c2bc706c0ba9a733a284dc7b 100644
(file)
--- 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));