diff --git a/checkin_notes b/checkin_notes index 5eaaaa03be..18add1475b 100644 --- a/checkin_notes +++ b/checkin_notes @@ -4907,3 +4907,10 @@ David 30 Jun 2010 client/ gui_rpc_server.cpp + +Charlie 30 Jun 2010 + - MGR: get_messages and get_notices RPCs don't alternate buffers, so + remove the unused buffers from CMainDocument class. + + clientgui/ + MainDocument.cpp, .h diff --git a/clientgui/MainDocument.cpp b/clientgui/MainDocument.cpp index 9118363a54..966d2a9172 100644 --- a/clientgui/MainDocument.cpp +++ b/clientgui/MainDocument.cpp @@ -925,8 +925,6 @@ void CMainDocument::RunPeriodicRPCs(int frameRefreshRate) { // of RPC, so pass in a pointer rather than its value request.arg1 = &m_iMessageSequenceNumber; request.arg2 = &messages; -// request.arg2 = &async_messages_buf; -// request.exchangeBuf = &messages; request.rpcType = RPC_TYPE_ASYNC_WITH_REFRESH_EVENT_LOG_AFTER; request.completionTime = NULL; request.resultPtr = &m_iGet_messages_rpc_result; diff --git a/clientgui/MainDocument.h b/clientgui/MainDocument.h index aa57e2b3ca..57b1ffe668 100644 --- a/clientgui/MainDocument.h +++ b/clientgui/MainDocument.h @@ -291,7 +291,6 @@ private: public: NOTICES notices; - NOTICES async_notices_buf; int m_iGet_notices_rpc_result; NOTICE* notice(unsigned int); @@ -312,7 +311,6 @@ private: public: MESSAGES messages; - MESSAGES async_messages_buf; int m_iGet_messages_rpc_result; MESSAGE* message(unsigned int);