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 --- protocols/AimOscar/src/links.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'protocols/AimOscar/src/links.cpp') diff --git a/protocols/AimOscar/src/links.cpp b/protocols/AimOscar/src/links.cpp index f16fd3131b..13671e8518 100644 --- a/protocols/AimOscar/src/links.cpp +++ b/protocols/AimOscar/src/links.cpp @@ -18,8 +18,6 @@ along with this program. If not, see . #include "stdafx.h" -static HANDLE hServiceParseLink; - extern OBJLIST g_Instances; static int SingleHexToDecimal(wchar_t c) @@ -168,11 +166,6 @@ void aim_links_init(void) { static const char szService[] = "AIM/ParseAimLink"; - hServiceParseLink = CreateServiceFunction(szService, ServiceParseAimLink); + CreateServiceFunction(szService, ServiceParseAimLink); AssocMgr_AddNewUrlTypeT("aim:", TranslateT("AIM link protocol"), hInstance, IDI_AOL, szService, 0); } - -void aim_links_destroy(void) -{ - DestroyServiceFunction(hServiceParseLink); -} -- cgit v1.2.3