summaryrefslogtreecommitdiff
path: root/plugins/BASS_interface/Main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/BASS_interface/Main.cpp')
-rw-r--r--plugins/BASS_interface/Main.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/BASS_interface/Main.cpp b/plugins/BASS_interface/Main.cpp
index e667325770..bbea422e0d 100644
--- a/plugins/BASS_interface/Main.cpp
+++ b/plugins/BASS_interface/Main.cpp
@@ -22,7 +22,6 @@ PLUGININFOEX pluginInfo={
MIID_BASSINT
};
-struct MM_INTERFACE mmi;
static HANDLE hHooks[5] = {0};
static HANDLE hService;
@@ -476,9 +475,7 @@ int OnShutdown(WPARAM wParam, LPARAM lParam)
extern "C" int __declspec(dllexport) Load(PLUGINLINK *link)
{
pluginLink = link;
- mir_getLP(&pluginInfo);
- mir_getMMI(&mmi);
-
+ mir_getLP(&pluginInfo);
hHooks[0] = HookEvent(ME_SYSTEM_MODULESLOADED, OnModulesLoaded);
hHooks[1] = HookEvent(ME_SYSTEM_SHUTDOWN, OnShutdown);
hHooks[2] = HookEvent(ME_TB_MODULELOADED, OnToolbarLoaded);