summaryrefslogtreecommitdiff
path: root/plugins/QuickReplies
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-08-11 15:39:23 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-08-11 15:39:23 +0000
commit2548065ebc5da2a8778cd4f49343b847773ee174 (patch)
tree642d6b05a1ada0df9803ddf55faa3e709920afef /plugins/QuickReplies
parenteb031473db62a4fac910f7cb2d13765a753df92d (diff)
'unreferenced formal parameter' warnings fixed
git-svn-id: http://svn.miranda-ng.org/main/trunk@14913 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/QuickReplies')
-rw-r--r--plugins/QuickReplies/src/events.cpp5
-rw-r--r--plugins/QuickReplies/src/options.cpp2
-rw-r--r--plugins/QuickReplies/src/quickreplies.cpp5
3 files changed, 5 insertions, 7 deletions
diff --git a/plugins/QuickReplies/src/events.cpp b/plugins/QuickReplies/src/events.cpp
index 224f8cb621..6cddb3322f 100644
--- a/plugins/QuickReplies/src/events.cpp
+++ b/plugins/QuickReplies/src/events.cpp
@@ -34,7 +34,7 @@ INT_PTR QuickRepliesService(WPARAM, LPARAM)
static IconItem icon = { LPGEN("Button"), "qr_button", IDI_QICON };
-int OnModulesLoaded(WPARAM wParam, LPARAM lParam)
+int OnModulesLoaded(WPARAM, LPARAM)
{
UnhookEvent(hOnModulesLoaded);
@@ -73,7 +73,6 @@ int OnModulesLoaded(WPARAM wParam, LPARAM lParam)
int OnButtonPressed(WPARAM wParam, LPARAM lParam)
{
char key[64];
- int index = 0;
int count = 0;
HMENU hMenu = NULL;
char buttonName[32];
@@ -151,7 +150,7 @@ int OnButtonPressed(WPARAM wParam, LPARAM lParam)
return 1;
}
-int OnPreShutdown(WPARAM wParam, LPARAM lParam)
+int OnPreShutdown(WPARAM, LPARAM)
{
if (ServiceExists(MS_BB_REMOVEBUTTON))
{
diff --git a/plugins/QuickReplies/src/options.cpp b/plugins/QuickReplies/src/options.cpp
index 9a3d9067cc..6a6f9d9417 100644
--- a/plugins/QuickReplies/src/options.cpp
+++ b/plugins/QuickReplies/src/options.cpp
@@ -166,7 +166,7 @@ INT_PTR CALLBACK DlgProcOptionsPage(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPAR
return FALSE;
}
-int OnOptInitialized(WPARAM wParam, LPARAM lParam)
+int OnOptInitialized(WPARAM wParam, LPARAM)
{
char tabName[32];
mir_snprintf(tabName, _countof(tabName), "%s %x", Translate("Button"), iNumber + 1);
diff --git a/plugins/QuickReplies/src/quickreplies.cpp b/plugins/QuickReplies/src/quickreplies.cpp
index 7b77d8b8cb..475a30e06e 100644
--- a/plugins/QuickReplies/src/quickreplies.cpp
+++ b/plugins/QuickReplies/src/quickreplies.cpp
@@ -39,14 +39,13 @@ PLUGININFOEX pluginInfoEx = {
{0xa6a031b6, 0xd32f, 0x4842, {0x98, 0xc6, 0xec, 0x71, 0x6c, 0x57, 0x6b, 0x77}}
};
-BOOL WINAPI DllMain(HINSTANCE hInstanceDLL, DWORD fdwReason, LPVOID lpvReserved)
+BOOL WINAPI DllMain(HINSTANCE hInstanceDLL, DWORD, LPVOID)
{
hInstance = hInstanceDLL;
-
return TRUE;
}
-extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion)
+extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD)
{
return &pluginInfoEx;
}