From 176e52e14fd0358a7f26ca8d7b0205244dfde2e7 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 23 May 2018 23:29:25 +0300 Subject: no need to initialize pcli variable in each plugin (only in Clist_*) --- plugins/ConnectionNotify/src/ConnectionNotify.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'plugins/ConnectionNotify') diff --git a/plugins/ConnectionNotify/src/ConnectionNotify.cpp b/plugins/ConnectionNotify/src/ConnectionNotify.cpp index a829e38cce..a56c3179a2 100644 --- a/plugins/ConnectionNotify/src/ConnectionNotify.cpp +++ b/plugins/ConnectionNotify/src/ConnectionNotify.cpp @@ -1,7 +1,6 @@ #include "stdafx.h" CMPlugin g_plugin; -CLIST_INTERFACE *pcli; //PLUGINLINK *pluginLink=NULL; HANDLE hOptInit = nullptr; @@ -846,8 +845,6 @@ extern "C" int __declspec(dllexport) Load(void) _OutputDebugString(L"Entering Load dll"); #endif - pcli = Clist_GetInterface(); - hExceptionsMutex = CreateMutex(nullptr, FALSE, L"ExceptionsMutex"); LoadSettings(); -- cgit v1.2.3