diff options
Diffstat (limited to 'protocols/MRA/Mra.cpp')
-rw-r--r-- | protocols/MRA/Mra.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/protocols/MRA/Mra.cpp b/protocols/MRA/Mra.cpp index 9b4e278fe6..d96a29a242 100644 --- a/protocols/MRA/Mra.cpp +++ b/protocols/MRA/Mra.cpp @@ -102,16 +102,6 @@ extern "C" MRA_API int Load(void) }
}
}
-
- // load zlib
- dwErrorCode = FindFile(masMraSettings.szMirWorkDirPath, (DWORD)masMraSettings.dwMirWorkDirPathLen, L"zlib.dll", -1, szBuff, SIZEOF(szBuff), (DWORD*)&dwBuffLen);
- if (dwErrorCode == NO_ERROR) {
- masMraSettings.hDLLZLib = LoadLibraryEx(szBuff, NULL, 0);
- if (masMraSettings.hDLLZLib) {
- masMraSettings.lpfnCompress2 = (HANDLE)GetProcAddress(masMraSettings.hDLLZLib, "compress2");
- masMraSettings.lpfnUncompress = (HANDLE)GetProcAddress(masMraSettings.hDLLZLib, "uncompress");
- }
- }
}
}
@@ -137,13 +127,6 @@ extern "C" MRA_API int Unload(void) masMraSettings.hDLLXStatusIcons = NULL;
}
- if (masMraSettings.hDLLZLib) {
- FreeLibrary(masMraSettings.hDLLZLib);
- masMraSettings.hDLLZLib = NULL;
- masMraSettings.lpfnCompress2 = NULL;
- masMraSettings.lpfnUncompress = NULL;
- }
-
DebugPrintCRLFW(L"Unload - DONE");
return 0;
}
|