From 3e9e96f6718b13c069138fb40f24f065ac03c6b7 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 18 Sep 2017 18:33:09 +0300 Subject: unneeded calls of DestroyServiceFunction() removed --- plugins/UserGuide/src/main.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'plugins/UserGuide/src') diff --git a/plugins/UserGuide/src/main.cpp b/plugins/UserGuide/src/main.cpp index e991bd97b2..97641a2370 100644 --- a/plugins/UserGuide/src/main.cpp +++ b/plugins/UserGuide/src/main.cpp @@ -2,7 +2,6 @@ HINSTANCE hInst; -HANDLE hShowGuide; int hLangpack; PLUGININFOEX pluginInfo = { @@ -80,7 +79,7 @@ extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD) extern "C" __declspec(dllexport) int Load(void) { mir_getLP(&pluginInfo); - hShowGuide = CreateServiceFunction("UserGuide/ShowGuide", ShowGuideFile); + CreateServiceFunction("UserGuide/ShowGuide", ShowGuideFile); CMenuItem mi; SET_UID(mi, 0x6787c12d, 0xdc85, 0x409d, 0xaa, 0x6c, 0x1f, 0xfe, 0x5f, 0xe8, 0xc1, 0x18); @@ -96,6 +95,5 @@ extern "C" __declspec(dllexport) int Load(void) extern "C" __declspec(dllexport) int Unload(void) { - DestroyServiceFunction(hShowGuide); return 0; } \ No newline at end of file -- cgit v1.2.3