From db146a5cb80ab954dfb5c0e6a97930b830352846 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 10 Aug 2016 15:41:23 +0000 Subject: - unused variable logIconBmpSize removed; - last remaining buffer/bufAlloced replaced with CMStringA git-svn-id: http://svn.miranda-ng.org/main/trunk@17173 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/core/stdmsg/src/msglog.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/core/stdmsg') diff --git a/src/core/stdmsg/src/msglog.cpp b/src/core/stdmsg/src/msglog.cpp index 4771ce1622..bb813b25a2 100644 --- a/src/core/stdmsg/src/msglog.cpp +++ b/src/core/stdmsg/src/msglog.cpp @@ -28,7 +28,6 @@ extern IconItem iconList[]; #define LOGICON_MSG_NOTICE 2 static char *pLogIconBmpBits[3]; -static size_t logIconBmpSize[ _countof(pLogIconBmpBits) ]; #define STREAMSTAGE_HEADER 0 #define STREAMSTAGE_EVENTS 1 @@ -501,8 +500,6 @@ void LoadMsgLogIcons(void) bin2hex(&bih, sizeof(bih), szDest); szDest += sizeof(bih) * 2; bin2hex(pBmpBits, widthBytes * bih.biHeight, szDest); szDest += widthBytes * bih.biHeight * 2; mir_strcpy(szDest, "}"); - - logIconBmpSize[i] = size_t(szDest - pLogIconBmpBits[i]) + 1; } mir_free(pBmpBits); DeleteDC(hdcMem); -- cgit v1.2.3