Browse Source

Missed some "ref macro" uses

(cherry picked from commit c8cee29c78)
rarified/huru-merge-work/code-cleanup
Zrax 14 years ago committed by rarified
parent
commit
3cbf675476
  1. 4
      Sources/Plasma/PubUtilLib/plNetClientComm/plNetClientComm.cpp
  2. 6
      Sources/Plasma/PubUtilLib/plNetGameLib/Private/plNglCsr.cpp

4
Sources/Plasma/PubUtilLib/plNetClientComm/plNetClientComm.cpp

@ -448,8 +448,6 @@ static void INetCliAuthCreatePlayerRequestCallback (
void * param,
const NetCliAuthPlayerInfo & playerInfo
) {
REF(param);
if (IS_NET_ERROR(result)) {
LogMsg(kLogDebug, L"Create player failed: %s", NetErrorToString(result));
}
@ -522,8 +520,6 @@ static void INetCliAuthChangePasswordCallback (
ENetError result,
void * param
) {
REF(param);
if (IS_NET_ERROR(result)) {
LogMsg(kLogDebug, L"Change password failed: %s", NetErrorToString(result));
}

6
Sources/Plasma/PubUtilLib/plNetGameLib/Private/plNglCsr.cpp

@ -187,8 +187,6 @@ static CliCsConn * GetConnIncRef_CS (const char tag[]) {
//============================================================================
static CliCsConn * GetConnIncRef (const char tag[]) {
REF(GetConnIncRef);
CliCsConn * conn;
s_critsect.Enter();
{
@ -420,8 +418,6 @@ static void AsyncLookupCallback (
unsigned addrCount,
const NetAddress addrs[]
) {
REF(name);
if (!addrCount) {
ReportNetError(kNetProtocolCli2Auth, kNetErrNameLookupFailed);
return;
@ -697,8 +693,6 @@ bool LoginRequestTrans::Recv (
const byte msg[],
unsigned bytes
) {
REF(bytes);
const Csr2Cli_LoginReply & reply = *(const Csr2Cli_LoginReply *) msg;
m_result = reply.result;

Loading…
Cancel
Save