Skip to content

Commit

Permalink
Update packed_array.hpp (#150)
Browse files Browse the repository at this point in the history
Remove overly aggressive BATT_ASSERT.
  • Loading branch information
tonyastolfi authored May 21, 2024
1 parent 921eeb4 commit bdc80a0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/llfs/packed_array.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,6 @@ inline usize packed_array_size(usize item_count, batt::StaticType<T> = {})
{
const little_u24 packed_count = item_count;

BATT_ASSERT_EQ(static_cast<usize>(packed_count.value()), item_count);

return sizeof(PackedArray<T>) + sizeof(T) * item_count;
}

Expand Down

0 comments on commit bdc80a0

Please sign in to comment.