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/SimpleAR/src/Main.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'plugins/SimpleAR/src') diff --git a/plugins/SimpleAR/src/Main.cpp b/plugins/SimpleAR/src/Main.cpp index 709e650bfd..5e3d38d1be 100644 --- a/plugins/SimpleAR/src/Main.cpp +++ b/plugins/SimpleAR/src/Main.cpp @@ -17,7 +17,6 @@ Copyright (C) 2000-2 Richard Hughes, Roland Rabien & Tristan Van de Vreede #include "stdafx.h" CMPlugin g_plugin; -CLIST_INTERFACE *pcli; HGENMENU hToggle, hEnableMenu; BOOL gbVarsServiceExist = FALSE; @@ -244,8 +243,6 @@ IconItem iconList[] = extern "C" int __declspec(dllexport)Load(void) { - pcli = Clist_GetInterface(); - CreateServiceFunction(MODULENAME"/ToggleEnable", ToggleEnable); CreateServiceFunction(MODULENAME"/ToggleAutoanswer", Toggle); -- cgit v1.2.3