summaryrefslogtreecommitdiff
path: root/plugins/UserInfoEx/src/ctrl_contact.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/ctrl_contact.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/ctrl_contact.cpp')
-rw-r--r--plugins/UserInfoEx/src/ctrl_contact.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/UserInfoEx/src/ctrl_contact.cpp b/plugins/UserInfoEx/src/ctrl_contact.cpp
index b89767a117..20d64d6b23 100644
--- a/plugins/UserInfoEx/src/ctrl_contact.cpp
+++ b/plugins/UserInfoEx/src/ctrl_contact.cpp
@@ -340,7 +340,7 @@ INT_PTR CALLBACK DlgProc_Phone(HWND hDlg, UINT msg, WPARAM wParam, LPARAM lParam
if (noRecursion) break;
noRecursion = 1;
{
- TCHAR szText[MAXDATASIZE], *pText, *pArea, *pNumber;
+ TCHAR szText[MAXDATASIZE], *pText = 0, *pArea, *pNumber;
bool isValid = true;
GetDlgItemText(hDlg, EDIT_PHONE, szText, _countof(szText));
if (szText[0] != '+')
@@ -1180,7 +1180,7 @@ static LRESULT CALLBACK CtrlContactWndProc(HWND hwnd, UINT msg, WPARAM wParam, L
cbex->bLocked = 1;
if ((BYTE)lParam == TRUE) {
- int i = (int)wParam;
+ i = (int)wParam;
cbex->iSelectedItem = (int)wParam;
while (i < cbex->numItems) {