mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-18 11:19:10 +00:00
Remove useless ref macro, since it conflicts with VS2010's libraries.
The compiler warnings will have to be cleaned up later (without the use of a silly macro)
This commit is contained in:
@ -370,10 +370,6 @@ static void DownloadCallback (
|
||||
) {
|
||||
s_numConnectFailures = 0;
|
||||
|
||||
ref(result);
|
||||
ref(param);
|
||||
ref(filename);
|
||||
|
||||
ManifestFile *mf = (ManifestFile *)param;
|
||||
if (IS_NET_ERROR(result) && s_running && !s_patchError) {
|
||||
if (result == kNetErrFileNotFound) {
|
||||
@ -716,8 +712,6 @@ static void ThinManifestCallback (
|
||||
){
|
||||
s_numConnectFailures = 0;
|
||||
|
||||
ref(group);
|
||||
|
||||
plLauncherInfo * info = (plLauncherInfo *) param;
|
||||
char text[256];
|
||||
StrPrintf(text, arrsize(text), "Checking for updates...");
|
||||
@ -815,8 +809,6 @@ static void FileSrvIpAddressCallback (
|
||||
void * param,
|
||||
const wchar addr[]
|
||||
) {
|
||||
ref(param);
|
||||
|
||||
NetCliGateKeeperDisconnect();
|
||||
|
||||
if (IS_NET_ERROR(result)) {
|
||||
@ -944,7 +936,6 @@ void UruPrepProc (void * param) {
|
||||
void PlayerStopProc (void * param) {
|
||||
s_running = false;
|
||||
plLauncherInfo *info = (plLauncherInfo *) param;
|
||||
ref(param);
|
||||
//TerminateProcess(s_pi.hProcess, kExitCodeTerminated);
|
||||
info->stopCallback(kStatusOk, nil);
|
||||
}
|
||||
|
@ -71,7 +71,6 @@ static wchar s_newPatcherFile[MAX_PATH];
|
||||
|
||||
//============================================================================
|
||||
static void NetErrorHandler (ENetProtocol protocol, ENetError error) {
|
||||
ref(protocol);
|
||||
LogMsg(kLogError, L"NetErr: %s", NetErrorToString(error));
|
||||
if (IS_NET_SUCCESS(s_patchResult))
|
||||
s_patchResult = error;
|
||||
@ -93,9 +92,6 @@ static void DownloadCallback (
|
||||
const wchar filename[],
|
||||
hsStream * writer
|
||||
) {
|
||||
ref(param);
|
||||
ref(filename);
|
||||
|
||||
if(IS_NET_ERROR(result)) {
|
||||
switch (result) {
|
||||
case kNetErrTimeout:
|
||||
@ -142,9 +138,6 @@ static void ManifestCallback (
|
||||
const NetCliFileManifestEntry manifest[],
|
||||
unsigned entryCount
|
||||
) {
|
||||
ref(param);
|
||||
ref(group);
|
||||
|
||||
if(IS_NET_ERROR(result)) {
|
||||
switch (result) {
|
||||
case kNetErrTimeout:
|
||||
@ -192,8 +185,6 @@ static void FileSrvIpAddressCallback (
|
||||
void * param,
|
||||
const wchar addr[]
|
||||
) {
|
||||
ref(param);
|
||||
|
||||
NetCliGateKeeperDisconnect();
|
||||
|
||||
if (IS_NET_ERROR(result)) {
|
||||
|
Reference in New Issue
Block a user