diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2015-08-08 06:57:14 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2015-08-08 06:57:14 +0000 |
commit | 4a0631399b72ff7a62ffc2da69150551e990e0d9 (patch) | |
tree | 636747c4083923dc96ebb8f0d06019746493b0da /plugins/UserInfoEx/src/Flags/svc_flags.cpp | |
parent | 88a14e8dc56bb77b09e52c8aebe5cd6f47039366 (diff) |
UserInfoEx:
- Warnings fixed
git-svn-id: http://svn.miranda-ng.org/main/trunk@14857 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/UserInfoEx/src/Flags/svc_flags.cpp')
-rw-r--r-- | plugins/UserInfoEx/src/Flags/svc_flags.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/plugins/UserInfoEx/src/Flags/svc_flags.cpp b/plugins/UserInfoEx/src/Flags/svc_flags.cpp index 98c2b9744a..d52a7dd44f 100644 --- a/plugins/UserInfoEx/src/Flags/svc_flags.cpp +++ b/plugins/UserInfoEx/src/Flags/svc_flags.cpp @@ -41,7 +41,7 @@ static LIST<MsgWndData> gMsgWndList(10, NumericKeySortT); * service functions
***********************************************************************************************************/
-static INT_PTR ServiceDetectContactOriginCountry(WPARAM wParam,LPARAM lParam)
+static INT_PTR ServiceDetectContactOriginCountry(WPARAM wParam,LPARAM)
{
WORD countryNumber;
char *pszProto = GetContactProto(wParam);
@@ -124,7 +124,7 @@ void UpdateStatusIcons() }
//hookProc ME_MSG_WINDOWEVENT
-static int OnMsgWndEvent(WPARAM wParam, LPARAM lParam)
+static int OnMsgWndEvent(WPARAM, LPARAM lParam)
{
MsgWndData *msgwnd;
MessageWindowEventData *msgwe = (MessageWindowEventData*)lParam;
@@ -153,7 +153,7 @@ static int OnMsgWndEvent(WPARAM wParam, LPARAM lParam) }
// hookProc ME_SKIN2_ICONSCHANGED
-static int OnStatusIconsChanged(WPARAM wParam, LPARAM lParam)
+static int OnStatusIconsChanged(WPARAM, LPARAM)
{
UpdateStatusIcons();
return 0;
@@ -215,7 +215,6 @@ void SvcFlagsLoadModule() // get local langID for descIcon (try to use user local Flag as icon)
DWORD langid = 0;
- int r = GetLocaleInfo(LOCALE_USER_DEFAULT, LOCALE_ICOUNTRY | LOCALE_RETURN_NUMBER, (LPTSTR)&langid, sizeof(langid) / sizeof(TCHAR));
if (!CallService(MS_UTILS_GETCOUNTRYBYNUMBER, langid, 0))
langid = 1;
|