MGR: get_messages and get_notices RPCs don't alternate buffers, so remove the unused buffers from CMainDocument class

svn path=/trunk/boinc/; revision=21854
This commit is contained in:
Charlie Fenton 2010-06-30 23:29:09 +00:00
parent fa82aaa435
commit 6906c46383
3 changed files with 7 additions and 4 deletions

View File

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

View File

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

View File

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