Skip to content

Commit

Permalink
fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
oclaw committed Dec 4, 2024
1 parent e85c732 commit f0af64e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ namespace nil {
) {
std::size_t rows_amount = 0;
std::size_t poly_chunks = std::ceil(float(power) / 8);
std::size_t points_per_row;
std::size_t points_per_row = 0;

if( power < 8){
points_per_row = (witness_amount - power - 1) / 3;
Expand Down
6 changes: 3 additions & 3 deletions crypto3/libs/marshalling/core/test/types.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -934,13 +934,13 @@ BOOST_AUTO_TEST_CASE(test27) {
status_type status;
field = pack<testing_type>(Buf, status);
auto &mem1 = field.field_mem1();
BOOST_CHECK(mem1.value() == 0x1);
BOOST_CHECK_EQUAL(mem1.value(), 0x1);

auto &mem2 = field.field_mem2();
BOOST_CHECK(mem2.value() == 0xfa);
BOOST_CHECK_EQUAL(mem2.value(), 0xfa);

auto &mem3 = field.field_mem3();
BOOST_CHECK(mem3.value() == 0x4);
BOOST_CHECK_EQUAL(mem3.value(), 0x4);
}

BOOST_AUTO_TEST_CASE(test28) {
Expand Down

0 comments on commit f0af64e

Please sign in to comment.