diff options
| author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-11-20 17:51:17 +0000 |
|---|---|---|
| committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-11-20 17:51:17 +0000 |
| commit | ab7b56e0e2d164e7ad2f5579cb5380019ec1d928 (patch) | |
| tree | ac4161c1e4d7f7ce7be55ef3bfa416c8e49bfaad | |
| parent | 73e8a76d86f75363197d5ae9f384e0606ad47a19 (diff) | |
| download | monzero-core-ab7b56e0e2d164e7ad2f5579cb5380019ec1d928.tar.gz monzero-core-ab7b56e0e2d164e7ad2f5579cb5380019ec1d928.tar.xz monzero-core-ab7b56e0e2d164e7ad2f5579cb5380019ec1d928.zip | |
tests: fix uninitialized data valgrind reports in levin tests
| -rw-r--r-- | tests/unit_tests/epee_levin_protocol_handler_async.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unit_tests/epee_levin_protocol_handler_async.cpp b/tests/unit_tests/epee_levin_protocol_handler_async.cpp index ca110eb59..2dd3ffe29 100644 --- a/tests/unit_tests/epee_levin_protocol_handler_async.cpp +++ b/tests/unit_tests/epee_levin_protocol_handler_async.cpp @@ -242,6 +242,7 @@ namespace m_req_head.m_cb = m_in_data.size(); m_req_head.m_have_to_return_data = true; m_req_head.m_command = expected_command; + m_req_head.m_return_code = LEVIN_OK; m_req_head.m_flags = LEVIN_PACKET_REQUEST; m_req_head.m_protocol_version = LEVIN_PROTOCOL_VER_1; |
