summaryrefslogtreecommitdiff
path: root/plugins/SMS/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-07-31 21:02:53 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-07-31 21:02:53 +0000
commitaa7b69500fc5ce34840076de537dbfab2c31ab81 (patch)
treefc035b4b454e47dc050bafa9e4eb695a90cff725 /plugins/SMS/src
parentae310cd45dcc29c5f9f55734fbf42d136ace8240 (diff)
warning fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@14774 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SMS/src')
-rw-r--r--plugins/SMS/src/SMS_svc.cpp8
-rw-r--r--plugins/SMS/src/functions.cpp4
-rw-r--r--plugins/SMS/src/main.cpp4
-rw-r--r--plugins/SMS/src/senddlg.cpp6
4 files changed, 11 insertions, 11 deletions
diff --git a/plugins/SMS/src/SMS_svc.cpp b/plugins/SMS/src/SMS_svc.cpp
index 6fb8511a84..474a9194d4 100644
--- a/plugins/SMS/src/SMS_svc.cpp
+++ b/plugins/SMS/src/SMS_svc.cpp
@@ -52,14 +52,14 @@ int LoadModules(void)
return 0;
}
-int SmsRebuildContactMenu(WPARAM wParam,LPARAM lParam)
+int SmsRebuildContactMenu(WPARAM wParam, LPARAM)
{
Menu_ShowItem(ssSMSSettings.hContactMenuItems[0], GetContactPhonesCount(wParam) != 0);
return 0;
}
//This function called when user clicked Menu.
-int SendSMSMenuCommand(WPARAM wParam,LPARAM lParam)
+int SendSMSMenuCommand(WPARAM wParam, LPARAM)
{
HWND hwndSendSms;
@@ -89,7 +89,7 @@ int SendSMSMenuCommand(WPARAM wParam,LPARAM lParam)
//This function used to popup a read SMS window after the user clicked on the received SMS message.
-int ReadMsgSMS(WPARAM wParam,LPARAM lParam)
+int ReadMsgSMS(WPARAM, LPARAM lParam)
{
CLISTEVENT *cle = (CLISTEVENT*)lParam;
@@ -110,7 +110,7 @@ int ReadMsgSMS(WPARAM wParam,LPARAM lParam)
}
//This function used to popup a read SMS window after the user clicked on the received SMS confirmation.
-int ReadAckSMS(WPARAM wParam,LPARAM lParam)
+int ReadAckSMS(WPARAM, LPARAM lParam)
{
CLISTEVENT *cle = (CLISTEVENT*)lParam;
diff --git a/plugins/SMS/src/functions.cpp b/plugins/SMS/src/functions.cpp
index 95c1f2910b..a38af8be70 100644
--- a/plugins/SMS/src/functions.cpp
+++ b/plugins/SMS/src/functions.cpp
@@ -433,7 +433,7 @@ DWORD EncodeXML(LPTSTR lptszMessage,size_t dwMessageSize,LPTSTR lptszMessageConv
//(Taken from Miranda-IM source code:)
-BYTE MsgDlgGetFontDefaultCharset(const TCHAR* szFont)
+BYTE MsgDlgGetFontDefaultCharset(const TCHAR*)
{
return(DEFAULT_CHARSET);
}
@@ -497,7 +497,7 @@ LRESULT CALLBACK MessageSubclassProc(HWND hwnd,UINT message,WPARAM wParam,LPARAM
//This function refresh account list.
//It called when SMS plugin loaded and upon change in the account list.
-int RefreshAccountList(WPARAM eventCode,LPARAM lParam)
+int RefreshAccountList(WPARAM, LPARAM)
{
int dwAccCount=0,dwSMSAccountsCount=0;
PROTOACCOUNT **ppaAccounts;
diff --git a/plugins/SMS/src/main.cpp b/plugins/SMS/src/main.cpp
index 4d741bdba6..d5f135482d 100644
--- a/plugins/SMS/src/main.cpp
+++ b/plugins/SMS/src/main.cpp
@@ -47,7 +47,7 @@ PLUGININFOEX pluginInfo = {
{0xcf97fd5d, 0xb911, 0x47a8, {0xaf, 0x3, 0xd2, 0x19, 0x68, 0xb5, 0xb8, 0x94}}
};
-extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion)
+extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD)
{
return &pluginInfo;
}
@@ -56,7 +56,7 @@ int OnModulesLoaded (WPARAM wParam,LPARAM lParam);
int OnPreShutdown (WPARAM wParam,LPARAM lParam);
void VersionConversions();
-BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpvReserved)
+BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID)
{
switch(dwReason) {
case DLL_PROCESS_ATTACH:
diff --git a/plugins/SMS/src/senddlg.cpp b/plugins/SMS/src/senddlg.cpp
index 994cb83d8e..bc3f0d58b1 100644
--- a/plugins/SMS/src/senddlg.cpp
+++ b/plugins/SMS/src/senddlg.cpp
@@ -502,7 +502,7 @@ INT_PTR CALLBACK SendSmsDlgProc(HWND hWndDlg,UINT message,WPARAM wParam,LPARAM l
return FALSE;
}
-INT_PTR CALLBACK SMSTimedOutDlgProc(HWND hWndDlg,UINT msg,WPARAM wParam,LPARAM lParam)
+INT_PTR CALLBACK SMSTimedOutDlgProc(HWND hWndDlg,UINT msg,WPARAM wParam,LPARAM)
{
switch(msg){
case WM_INITDIALOG:
@@ -531,7 +531,7 @@ INT_PTR CALLBACK SMSTimedOutDlgProc(HWND hWndDlg,UINT msg,WPARAM wParam,LPARAM l
return FALSE;
}
-INT_PTR CALLBACK SMSAcceptedDlgProc(HWND hWndDlg,UINT msg,WPARAM wParam,LPARAM lParam)
+INT_PTR CALLBACK SMSAcceptedDlgProc(HWND hWndDlg,UINT msg,WPARAM wParam,LPARAM)
{
switch(msg){
case WM_INITDIALOG:
@@ -722,7 +722,7 @@ void SendSMSWindowNumberSet(HWND hWndDlg, LPWSTR lpwszPhone, size_t dwPhoneSize)
}
//
-void SendSMSWindowAsSentSet(HWND hWndDlg)
+void SendSMSWindowAsSentSet(HWND)
{
// LVITEM lvi;
// char szPhone[MAX_PHONE_LEN];