summaryrefslogtreecommitdiff
path: root/plugins/UserInfoEx
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/UserInfoEx
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/UserInfoEx')
-rw-r--r--plugins/UserInfoEx/src/classPsTree.cpp26
-rw-r--r--plugins/UserInfoEx/src/ex_import/svc_ExImVCF.cpp2
-rw-r--r--plugins/UserInfoEx/src/mir_menuitems.cpp1
3 files changed, 13 insertions, 16 deletions
diff --git a/plugins/UserInfoEx/src/classPsTree.cpp b/plugins/UserInfoEx/src/classPsTree.cpp
index b05f8961ab..2a1b12d2ea 100644
--- a/plugins/UserInfoEx/src/classPsTree.cpp
+++ b/plugins/UserInfoEx/src/classPsTree.cpp
@@ -790,22 +790,22 @@ void CPsTree::PopupMenu()
switch (iItem) {
// hide the item
- case 32000:
- HideItem(tvi.lParam);
- break;
+ case 32000:
+ HideItem(tvi.lParam);
+ break;
// rename the item
- case 32001:
- BeginLabelEdit(tvi.hItem);
- break;
+ case 32001:
+ BeginLabelEdit(tvi.hItem);
+ break;
// reset current tree
- case 32004:
- DBResetState();
- break;
+ case 32004:
+ DBResetState();
+ break;
// show a hidden item
- default:
- if ((iItem -= 100) >= 0 && ShowItem(iItem, NULL))
- AddFlags(PSTVF_STATE_CHANGED|PSTVF_POS_CHANGED);
- break;
+ default:
+ if ((iItem -= 100) >= 0 && ShowItem(iItem, NULL))
+ AddFlags(PSTVF_STATE_CHANGED | PSTVF_POS_CHANGED);
+ break;
}
}
diff --git a/plugins/UserInfoEx/src/ex_import/svc_ExImVCF.cpp b/plugins/UserInfoEx/src/ex_import/svc_ExImVCF.cpp
index 61ff1f1521..ca7fdc4a25 100644
--- a/plugins/UserInfoEx/src/ex_import/svc_ExImVCF.cpp
+++ b/plugins/UserInfoEx/src/ex_import/svc_ExImVCF.cpp
@@ -159,9 +159,7 @@ size_t CLineBuffer::operator + (const CHAR *szVal)
size_t CLineBuffer::operator + (const WCHAR *wszVal)
{
if (wszVal) {
- size_t cbLength = mir_wstrlen(wszVal);
CHAR* szVal = mir_u2a(wszVal);
-
if (szVal) {
size_t cbLength = mir_strlen(szVal);
diff --git a/plugins/UserInfoEx/src/mir_menuitems.cpp b/plugins/UserInfoEx/src/mir_menuitems.cpp
index 3f87c2e539..2c96b97869 100644
--- a/plugins/UserInfoEx/src/mir_menuitems.cpp
+++ b/plugins/UserInfoEx/src/mir_menuitems.cpp
@@ -278,7 +278,6 @@ void RebuildGroup()
{
int flag = 0;
BYTE item = 0;
- GroupMenuParam gmp = { 0 };
HGENMENU mhRoot = NULL;
HGENMENU mhExIm = NULL;