summaryrefslogtreecommitdiff
path: root/plugins/Variables/src/parse_miranda.cpp
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2013-02-14 13:22:47 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2013-02-14 13:22:47 +0000
commitb67a0345014079ca4d6d2ffc95d55086abc5b96b (patch)
treed4cc57ded9a6b19796bd32974f3731414ffb014c /plugins/Variables/src/parse_miranda.cpp
parent25359ca57da5cc1dd5d6e34ca7b5bd65353f092a (diff)
minor cleanup and typos (by Basil)
git-svn-id: http://svn.miranda-ng.org/main/trunk@3600 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Variables/src/parse_miranda.cpp')
-rw-r--r--plugins/Variables/src/parse_miranda.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/Variables/src/parse_miranda.cpp b/plugins/Variables/src/parse_miranda.cpp
index 549a3f5ac5..85c1c7e238 100644
--- a/plugins/Variables/src/parse_miranda.cpp
+++ b/plugins/Variables/src/parse_miranda.cpp
@@ -474,7 +474,6 @@ static TCHAR *parseSpecialContact(ARGUMENTSINFO *ai)
return NULL;
ai->flags |= AIF_DONTPARSE;
- TCHAR *res = NULL;
TCHAR *szUniqueID = NULL;
char *szProto = GetContactProto(ai->fi->hContact);
if (szProto != NULL)
@@ -488,7 +487,7 @@ static TCHAR *parseSpecialContact(ARGUMENTSINFO *ai)
return NULL;
}
- res = (TCHAR*)mir_alloc((strlen(szProto) + _tcslen(szUniqueID) + 4)*sizeof(TCHAR));
+ TCHAR *res = (TCHAR*)mir_alloc((strlen(szProto) + _tcslen(szUniqueID) + 4)*sizeof(TCHAR));
if (res == NULL) {
mir_free(szUniqueID);
return NULL;