diff options
author | George Hazan <george.hazan@gmail.com> | 2013-10-19 14:35:34 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-10-19 14:35:34 +0000 |
commit | 41f218316dce6b1bfcfb0f2754379fa74c5138ed (patch) | |
tree | 1cd44fe63c6ebabf70d8c4b6f34be37ab8e844f7 /plugins/TabSRMM/src/chat/manager.cpp | |
parent | 397e25f2b71347c7c83495fe5b25496ff3b02b75 (diff) |
warning fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@6534 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/chat/manager.cpp')
-rw-r--r-- | plugins/TabSRMM/src/chat/manager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/chat/manager.cpp b/plugins/TabSRMM/src/chat/manager.cpp index d8b62225ac..1b78cfcc8b 100644 --- a/plugins/TabSRMM/src/chat/manager.cpp +++ b/plugins/TabSRMM/src/chat/manager.cpp @@ -1223,11 +1223,11 @@ TCHAR* UM_FindUserAutoComplete(USERINFO* pUserList, const TCHAR* pszOriginal, co BOOL UM_RemoveUser(USERINFO** ppUserList, const TCHAR* pszUID)
{
- USERINFO *pTemp = *ppUserList, *pLast = NULL;
-
if (!ppUserList || !pszUID)
return FALSE;
+ USERINFO *pTemp = *ppUserList, *pLast = NULL;
+
while (pTemp != NULL) {
if (!lstrcmpi(pTemp->pszUID, pszUID)) {
if (pLast == NULL)
|