forked from Mirrors/privacore-open-source-search-engine
Remove unused variable in Msg0
This commit is contained in:
5
Msg0.cpp
5
Msg0.cpp
@ -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
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;
|
||||
|
Reference in New Issue
Block a user