Skip to content

Commit

Permalink
fix windows
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesnicholson committed Dec 30, 2023
1 parent 91a22e4 commit 6aaa6be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_cobs_encode_inc.cc
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ byte_vec_t encode_incremental(byte_vec_t const &decoded, size_t chunk_size) {
cur += encode_size;
}

size_t len;
size_t len{ 0u };
REQUIRE(cobs_encode_inc_end(&ctx, &len) == COBS_RET_SUCCESS);
encoded.resize(len);
return encoded;
Expand Down

0 comments on commit 6aaa6be

Please sign in to comment.