-Description: Fix a test case check.
+Description: Fix some nits reported by cppcheck.
Forwarded: not-yet
Author: Peter Pentchev <roam@ringlet.net>
-Last-Update: 2021-08-21
+Last-Update: 2021-08-22
--- a/test/read_single_chunk.c
+++ b/test/read_single_chunk.c
printf("%s", zck_get_error(zck));
zck_free(&zck);
exit(1);
+--- a/src/lib/comp/zstd/zstd.c
++++ b/src/lib/comp/zstd/zstd.c
+@@ -37,7 +37,9 @@
+ VALIDATE_BOOL(zck);
+ ALLOCD_BOOL(zck, comp);
+
++#ifndef OLD_ZSTD
+ size_t retval = 0;
++#endif
+
+ comp->cctx = ZSTD_createCCtx();
+ #ifndef OLD_ZSTD