From 4a0631399b72ff7a62ffc2da69150551e990e0d9 Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Sat, 8 Aug 2015 06:57:14 +0000 Subject: UserInfoEx: - Warnings fixed git-svn-id: http://svn.miranda-ng.org/main/trunk@14857 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/UserInfoEx/src/ctrl_contact.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/UserInfoEx/src/ctrl_contact.cpp') 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) { -- cgit v1.2.3