summaryrefslogtreecommitdiff
path: root/plugins/IEView/src/TemplateHTMLBuilder.cpp
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2016-01-21 13:58:44 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2016-01-21 13:58:44 +0000
commitf766a15d16ee4a719fdf7ce273f87a333d90a40b (patch)
tree47803e5530bc8a4388b86b6d2eebd9fc97bb27f5 /plugins/IEView/src/TemplateHTMLBuilder.cpp
parentdb58ffd66b837aa184ee8d934811b78f9ff8040b (diff)
IEView: memleaks fix, warnings fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@16136 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/IEView/src/TemplateHTMLBuilder.cpp')
-rw-r--r--plugins/IEView/src/TemplateHTMLBuilder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/IEView/src/TemplateHTMLBuilder.cpp b/plugins/IEView/src/TemplateHTMLBuilder.cpp
index 896e55fbb2..f61646820c 100644
--- a/plugins/IEView/src/TemplateHTMLBuilder.cpp
+++ b/plugins/IEView/src/TemplateHTMLBuilder.cpp
@@ -55,7 +55,7 @@ char* TemplateHTMLBuilder::getAvatar(MCONTACT hContact, const char *szProto)
}
if (!db_get_ts(hContact, "ContactPhoto", "File", &dbv)) {
if (mir_tstrlen(dbv.ptszVal) > 0) {
- TCHAR *ext = _tcsrchr(dbv.ptszVal, '.');
+ //TCHAR *ext = _tcsrchr(dbv.ptszVal, '.');
if (result == NULL) {
/* relative -> absolute */
mir_tstrcpy(tmpPath, dbv.ptszVal);