Remove unused variable in Msg0

This commit is contained in:
Ai Lin Chia
2016-08-09 22:43:13 +02:00
parent 7cda6f9a60
commit 6cf12d424f
2 changed files with 0 additions and 11 deletions

@ -27,7 +27,6 @@ Msg0::Msg0 ( ) {
void Msg0::constructor ( ) {
m_msg5 = NULL;
m_mcast.constructor();
m_mcasts = NULL;
m_numRequests = 0;
m_numReplies = 0;
//m_numSplit = 1;
@ -52,10 +51,6 @@ void Msg0::reset ( ) {
mfree ( m_replyBuf, m_replyBufSize, "Msg0" );
m_replyBuf = NULL;
m_replyBufSize = 0;
if ( m_mcasts ) {
mfree(m_mcasts,sizeof(Multicast),"msg0mcast");
m_mcasts = NULL;
}
}
bool Msg0::registerHandler ( ) {

6
Msg0.h

@ -83,13 +83,8 @@ class Msg0 {
// host we sent RdbList request to
int64_t m_hostId;
int32_t m_ip;
int16_t m_port;
uint32_t m_shardNum;
UdpSlot *m_slot;
// 2*4 + 1 + 2 * keySize
char m_request [ MSG0_REQ_SIZE ];
int32_t m_requestSize;
@ -97,7 +92,6 @@ class Msg0 {
// casting to multiple splits is obsolete, but for PageIndexdb.cpp
// we still need to do it, but we alloc for it
Multicast m_mcast;
Multicast *m_mcasts;
int32_t m_numRequests;
int32_t m_numReplies;