summaryrefslogtreecommitdiff
path: root/protocols/AimOscar/src/links.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-09-18 18:33:09 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-09-18 18:33:09 +0300
commit3e9e96f6718b13c069138fb40f24f065ac03c6b7 (patch)
treed09301e8d63cf2bc70601fe683992440d4e2e086 /protocols/AimOscar/src/links.cpp
parentb5de62080a2384e9f66d7bafbf971aa5b4b7c0c1 (diff)
unneeded calls of DestroyServiceFunction() removed
Diffstat (limited to 'protocols/AimOscar/src/links.cpp')
-rw-r--r--protocols/AimOscar/src/links.cpp9
1 files changed, 1 insertions, 8 deletions
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 <http://www.gnu.org/licenses/>.
#include "stdafx.h"
-static HANDLE hServiceParseLink;
-
extern OBJLIST<CAimProto> 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);
-}