Skip to content

Commit

Permalink
Fix sorabot issues with uninitialized variables
Browse files Browse the repository at this point in the history
Signed-off-by: Nikita Alekseev <[email protected]>
  • Loading branch information
nickaleks committed Jan 11, 2018
1 parent af641eb commit f37c32d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/module/shared_model/validators/validators_fixture.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ class ValidatorsTest : public ::testing::Test {
ValidatorsTest() {
amount.set_precision(2);
amount.mutable_value()->set_fourth(1000);
public_key_size = 32;
hash_size = 32;
counter = 0;

// Generate protobuf reflection setter for given type and value
auto setField = [&](auto setter) {
Expand Down

0 comments on commit f37c32d

Please sign in to comment.