Skip to content

Commit

Permalink
Fix compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancescAlted committed Oct 23, 2024
1 parent 99e8c42 commit 458d26f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_schunk.c
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ static char* test_schunk_no_init(void)
blosc2_context* ctx = blosc2_create_cctx(cparams);

csize = blosc2_compress_ctx(ctx, data, isize, chunk, isize + BLOSC2_MAX_OVERHEAD);
mu_assert("ERROR: chunk cannot be compressed correctly.", csize > 0);
int64_t nchunks_ = blosc2_schunk_append_chunk(schunk, chunk, false);
mu_assert("ERROR: bad append in frame", nchunks_ > 0);
blosc2_free_ctx(ctx);
Expand Down

0 comments on commit 458d26f

Please sign in to comment.