summaryrefslogtreecommitdiff
path: root/src/core/stdssl
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/stdssl')
-rw-r--r--src/core/stdssl/src/main.cpp4
-rw-r--r--src/core/stdssl/src/netlibssl.cpp2
-rw-r--r--src/core/stdssl/src/stdafx.h2
3 files changed, 3 insertions, 5 deletions
diff --git a/src/core/stdssl/src/main.cpp b/src/core/stdssl/src/main.cpp
index 51536dce9e..219c71d8fd 100644
--- a/src/core/stdssl/src/main.cpp
+++ b/src/core/stdssl/src/main.cpp
@@ -41,13 +41,13 @@ PLUGININFOEX pluginInfo = {
{ 0x1e64fd80, 0x299e, 0x48a0, {0x94, 0x41, 0xde, 0x28, 0x68, 0x56, 0x3b, 0x6f}}
};
-BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
+BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD, LPVOID)
{
hInst = hinstDLL;
return TRUE;
}
-extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion)
+extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD)
{
return &pluginInfo;
}
diff --git a/src/core/stdssl/src/netlibssl.cpp b/src/core/stdssl/src/netlibssl.cpp
index abcc58ff16..1c5dd33569 100644
--- a/src/core/stdssl/src/netlibssl.cpp
+++ b/src/core/stdssl/src/netlibssl.cpp
@@ -62,7 +62,7 @@ struct SslHandle
SocketState state;
};
-static void ReportSslError(SECURITY_STATUS scRet, int line, bool showPopup = false)
+static void ReportSslError(SECURITY_STATUS scRet, int line, bool = false)
{
TCHAR szMsgBuf[256];
switch (scRet) {
diff --git a/src/core/stdssl/src/stdafx.h b/src/core/stdssl/src/stdafx.h
index fcfad31b67..ea87e2353e 100644
--- a/src/core/stdssl/src/stdafx.h
+++ b/src/core/stdssl/src/stdafx.h
@@ -19,8 +19,6 @@ along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#define _CRT_SECURE_NO_WARNINGS
-
#include <windows.h>
#include <windowsx.h>
#include <ole2.h>