diff options
author | George Hazan <ghazan@miranda.im> | 2017-09-18 18:33:09 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-09-18 18:33:09 +0300 |
commit | 3e9e96f6718b13c069138fb40f24f065ac03c6b7 (patch) | |
tree | d09301e8d63cf2bc70601fe683992440d4e2e086 /plugins/DbChecker/src | |
parent | b5de62080a2384e9f66d7bafbf971aa5b4b7c0c1 (diff) |
unneeded calls of DestroyServiceFunction() removed
Diffstat (limited to 'plugins/DbChecker/src')
-rw-r--r-- | plugins/DbChecker/src/main.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/DbChecker/src/main.cpp b/plugins/DbChecker/src/main.cpp index 80ff103a0c..a1ed63a1f9 100644 --- a/plugins/DbChecker/src/main.cpp +++ b/plugins/DbChecker/src/main.cpp @@ -22,7 +22,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. HINSTANCE hInst;
int hLangpack = 0;
bool bServiceMode, bLaunchMiranda, bShortMode, bAutoExit;
-HANDLE hService;
DbToolOptions opts = { 0 };
@@ -82,12 +81,11 @@ extern "C" __declspec(dllexport) int Load(void) mir_getLP(&pluginInfoEx);
CreateServiceFunction(MS_DB_CHECKPROFILE, CheckProfile);
- hService = CreateServiceFunction(MS_SERVICEMODE_LAUNCH, ServiceMode);
+ CreateServiceFunction(MS_SERVICEMODE_LAUNCH, ServiceMode);
return 0;
}
extern "C" __declspec(dllexport) int Unload(void)
{
- DestroyServiceFunction(hService);
return 0;
}
|