From f766a15d16ee4a719fdf7ce273f87a333d90a40b Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Thu, 21 Jan 2016 13:58:44 +0000 Subject: IEView: memleaks fix, warnings fix git-svn-id: http://svn.miranda-ng.org/main/trunk@16136 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/IEView/src/TemplateHTMLBuilder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/IEView/src/TemplateHTMLBuilder.cpp') 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); -- cgit v1.2.3