From 17da305890a440f7becca5394ae0a8613e8b316c Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Sat, 8 Aug 2015 21:15:29 +0000 Subject: warnings fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@14876 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/core/stdssl/src/main.cpp | 4 ++-- src/core/stdssl/src/netlibssl.cpp | 2 +- src/core/stdssl/src/stdafx.h | 2 -- 3 files changed, 3 insertions(+), 5 deletions(-) (limited to 'src/core/stdssl') 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 #include #include -- cgit v1.2.3