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, void * param,
const NetCliAuthPlayerInfo & playerInfo const NetCliAuthPlayerInfo & playerInfo
) { ) {
REF(param);
if (IS_NET_ERROR(result)) { if (IS_NET_ERROR(result)) {
LogMsg(kLogDebug, L"Create player failed: %s", NetErrorToString(result)); LogMsg(kLogDebug, L"Create player failed: %s", NetErrorToString(result));
} }
@ -522,8 +520,6 @@ static void INetCliAuthChangePasswordCallback (
ENetError result, ENetError result,
void * param void * param
) { ) {
REF(param);
if (IS_NET_ERROR(result)) { if (IS_NET_ERROR(result)) {
LogMsg(kLogDebug, L"Change password failed: %s", NetErrorToString(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[]) { static CliCsConn * GetConnIncRef (const char tag[]) {
REF(GetConnIncRef);
CliCsConn * conn; CliCsConn * conn;
s_critsect.Enter(); s_critsect.Enter();
{ {
@ -420,8 +418,6 @@ static void AsyncLookupCallback (
unsigned addrCount, unsigned addrCount,
const NetAddress addrs[] const NetAddress addrs[]
) { ) {
REF(name);
if (!addrCount) { if (!addrCount) {
ReportNetError(kNetProtocolCli2Auth, kNetErrNameLookupFailed); ReportNetError(kNetProtocolCli2Auth, kNetErrNameLookupFailed);
return; return;
@ -697,8 +693,6 @@ bool LoginRequestTrans::Recv (
const byte msg[], const byte msg[],
unsigned bytes unsigned bytes
) { ) {
REF(bytes);
const Csr2Cli_LoginReply & reply = *(const Csr2Cli_LoginReply *) msg; const Csr2Cli_LoginReply & reply = *(const Csr2Cli_LoginReply *) msg;
m_result = reply.result; m_result = reply.result;

Loading…
Cancel
Save