tests: fix uninitialized data valgrind reports in levin tests

This commit is contained in:
moneromooo-monero 2016-11-20 17:51:17 +00:00
parent 73e8a76d86
commit ab7b56e0e2
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3

View file

@ -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;