From 66ab99eb5b5c47a01e1cc6613af07426abbeb19b Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 27 May 2018 14:52:20 +0300 Subject: unused variable CHAT_MANAGER *pci removed and replaced with g_chatApi --- plugins/PasteIt/src/PasteIt.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'plugins/PasteIt/src') diff --git a/plugins/PasteIt/src/PasteIt.cpp b/plugins/PasteIt/src/PasteIt.cpp index a419de75b1..a56a46d15e 100644 --- a/plugins/PasteIt/src/PasteIt.cpp +++ b/plugins/PasteIt/src/PasteIt.cpp @@ -35,7 +35,6 @@ static IconItem iconList[] = }; CMPlugin g_plugin; -CHAT_MANAGER *pci; #define FROM_CLIPBOARD 10 #define FROM_FILE 11 @@ -128,7 +127,7 @@ static void PasteIt(MCONTACT hContact, int mode) // in chat room. // Next step is to get all protocol sessions and find // one with correct hContact - int cnt = pci->SM_GetCount(szProto); + int cnt = g_chatApi.SM_GetCount(szProto); for (int i = 0; i < cnt; i++) { GC_INFO gci = {}; gci.iItem = i; @@ -349,8 +348,6 @@ static int ModulesLoaded(WPARAM, LPARAM) extern "C" int __declspec(dllexport) Load(void) { - pci = Chat_GetInterface(); - g_plugin.registerIcon(LPGEN("Paste It"), iconList); NETLIBUSER nlu = {}; -- cgit v1.2.3