mirror of
https://github.com/ceph/ceph
synced 2024-12-28 22:43:29 +00:00
AsyncConnection.cc: init some members in ctor
Fix for: [src/msg/async/AsyncConnection.cc:122]: (warning) Member variable 'AsyncConnection::msg_left' is not initialized in the constructor. [src/msg/async/AsyncConnection.cc:122]: (warning) Member variable 'AsyncConnection::cur_msg_size' is not initialized in the constructor. Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
This commit is contained in:
parent
3f1b2ad2d9
commit
1ad4a13171
@ -130,7 +130,7 @@ AsyncConnection::AsyncConnection(CephContext *cct, AsyncMessenger *m, DispatchQu
|
||||
recv_start(0), recv_end(0),
|
||||
last_active(ceph::coarse_mono_clock::now()),
|
||||
inactive_timeout_us(cct->_conf->ms_tcp_read_timeout*1000*1000),
|
||||
got_bad_auth(false), authorizer(NULL), replacing(false),
|
||||
msg_left(0), cur_msg_size(0), got_bad_auth(false), authorizer(NULL), replacing(false),
|
||||
is_reset_from_peer(false), once_ready(false), state_buffer(NULL), state_offset(0),
|
||||
worker(w), center(&w->center)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user