mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-18 11:19:10 +00:00
Missed some "ref macro" uses
This commit is contained in:
@ -432,8 +432,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));
|
||||
}
|
||||
@ -506,8 +504,6 @@ static void INetCliAuthChangePasswordCallback (
|
||||
ENetError result,
|
||||
void * param
|
||||
) {
|
||||
ref(param);
|
||||
|
||||
if (IS_NET_ERROR(result)) {
|
||||
LogMsg(kLogDebug, L"Change password failed: %s", NetErrorToString(result));
|
||||
}
|
||||
|
@ -171,8 +171,6 @@ static CliCsConn * GetConnIncRef_CS (const char tag[]) {
|
||||
|
||||
//============================================================================
|
||||
static CliCsConn * GetConnIncRef (const char tag[]) {
|
||||
ref(GetConnIncRef);
|
||||
|
||||
CliCsConn * conn;
|
||||
s_critsect.Enter();
|
||||
{
|
||||
@ -404,8 +402,6 @@ static void AsyncLookupCallback (
|
||||
unsigned addrCount,
|
||||
const NetAddress addrs[]
|
||||
) {
|
||||
ref(name);
|
||||
|
||||
if (!addrCount) {
|
||||
ReportNetError(kNetProtocolCli2Auth, kNetErrNameLookupFailed);
|
||||
return;
|
||||
@ -681,8 +677,6 @@ bool LoginRequestTrans::Recv (
|
||||
const byte msg[],
|
||||
unsigned bytes
|
||||
) {
|
||||
ref(bytes);
|
||||
|
||||
const Csr2Cli_LoginReply & reply = *(const Csr2Cli_LoginReply *) msg;
|
||||
|
||||
m_result = reply.result;
|
||||
|
Reference in New Issue
Block a user