summaryrefslogtreecommitdiff
path: root/plugins/Scriver/src/globals.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-12-13 21:45:17 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-12-13 21:45:17 +0000
commitbd9841778fdcf06c87ddcad19669779ea15c6111 (patch)
tree755f73a8a48c86df66d2b15f9b481203bcba1672 /plugins/Scriver/src/globals.cpp
parent80773d07115cf8d2874d49f6e2378f736db771f6 (diff)
Scriver: warning level 4
git-svn-id: http://svn.miranda-ng.org/main/trunk@11382 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Scriver/src/globals.cpp')
-rw-r--r--plugins/Scriver/src/globals.cpp15
1 files changed, 1 insertions, 14 deletions
diff --git a/plugins/Scriver/src/globals.cpp b/plugins/Scriver/src/globals.cpp
index ca0174e65e..8bf0853259 100644
--- a/plugins/Scriver/src/globals.cpp
+++ b/plugins/Scriver/src/globals.cpp
@@ -104,7 +104,7 @@ void RegisterIcons(void)
/////////////////////////////////////////////////////////////////////////////////////////
-static int ackevent(WPARAM wParam, LPARAM lParam)
+static int ackevent(WPARAM, LPARAM lParam)
{
ACKDATA *pAck = (ACKDATA *)lParam;
if (!pAck)
@@ -275,19 +275,6 @@ static struct { UINT cpId; const TCHAR *cpName; } cpTable[] =
{ 1361, LPGENT("Korean (Johab)") }
};
-static BOOL CALLBACK LangAddCallback(CHAR * str)
-{
- int i, count;
- UINT cp;
- cp = atoi(str);
- count = sizeof(cpTable) / sizeof(cpTable[0]);
- for (i = 0; i < count && cpTable[i].cpId != cp; i++);
- if (i < count)
- AppendMenu(g_dat.hMenuANSIEncoding, MF_STRING, cp, TranslateTS(cpTable[i].cpName));
-
- return TRUE;
-}
-
void LoadInfobarFonts()
{
LOGFONT lf;