mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-18 19:29:09 +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:
@ -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