summaryrefslogtreecommitdiff
path: root/plugins/UserInfoEx/src/svc_email.cpp
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2015-08-08 06:57:14 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2015-08-08 06:57:14 +0000
commit4a0631399b72ff7a62ffc2da69150551e990e0d9 (patch)
tree636747c4083923dc96ebb8f0d06019746493b0da /plugins/UserInfoEx/src/svc_email.cpp
parent88a14e8dc56bb77b09e52c8aebe5cd6f47039366 (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/svc_email.cpp')
-rw-r--r--plugins/UserInfoEx/src/svc_email.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/UserInfoEx/src/svc_email.cpp b/plugins/UserInfoEx/src/svc_email.cpp
index 5b1ffd38a4..7f2c14d4ed 100644
--- a/plugins/UserInfoEx/src/svc_email.cpp
+++ b/plugins/UserInfoEx/src/svc_email.cpp
@@ -79,7 +79,7 @@ static LPSTR Get(MCONTACT hContact)
static INT_PTR MenuCommand(WPARAM wParam,LPARAM lParam)
{
- int result;
+ int result = 0;
LPSTR val = NULL;
__try
@@ -124,7 +124,7 @@ static INT_PTR MenuCommand(WPARAM wParam,LPARAM lParam)
* @param lParam - not used
**/
-static int OnCListApplyIcons(WPARAM wParam, LPARAM lParam)
+static int OnCListApplyIcons(WPARAM wParam, LPARAM)
{
LPSTR val = Get(wParam);
ExtraIcon_SetIconByName(ghExtraIconSvc, wParam, (val) ? ICO_BTN_EMAIL : 0);
@@ -161,7 +161,7 @@ static int OnContactSettingChanged(MCONTACT hContact, DBCONTACTWRITESETTING* pdb
* @return always 0
**/
-static int OnPreBuildMenu(WPARAM wParam, LPARAM lParam)
+static int OnPreBuildMenu(WPARAM wParam, LPARAM)
{
LPSTR val = Get(wParam);
Menu_ShowItem(ghMenuItem, val != NULL);