diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2015-08-08 21:15:29 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2015-08-08 21:15:29 +0000 |
commit | 17da305890a440f7becca5394ae0a8613e8b316c (patch) | |
tree | 2f5a5e71f87ff5ea34e8665f266e2ce7c4d95eda /src/core/stdssl | |
parent | 0a73c548544c6d41ad5650cd5a7609f8ea609d26 (diff) |
warnings fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@14876 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/core/stdssl')
-rw-r--r-- | src/core/stdssl/src/main.cpp | 4 | ||||
-rw-r--r-- | src/core/stdssl/src/netlibssl.cpp | 2 | ||||
-rw-r--r-- | src/core/stdssl/src/stdafx.h | 2 |
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>
|