summaryrefslogtreecommitdiff
path: root/plugins/Toaster/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Toaster/src')
-rw-r--r--plugins/Toaster/src/main.cpp1
-rw-r--r--plugins/Toaster/src/services.cpp3
2 files changed, 0 insertions, 4 deletions
diff --git a/plugins/Toaster/src/main.cpp b/plugins/Toaster/src/main.cpp
index 5158940d1b..6ce8fd69af 100644
--- a/plugins/Toaster/src/main.cpp
+++ b/plugins/Toaster/src/main.cpp
@@ -28,7 +28,6 @@ DWORD WINAPI DllMain(HINSTANCE hInstance, DWORD, LPVOID)
extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD)
{
- OSVERSIONINFO osvi = { sizeof(OSVERSIONINFO) };
if (IsWinVer8Plus())
return &pluginInfo;
diff --git a/plugins/Toaster/src/services.cpp b/plugins/Toaster/src/services.cpp
index 62b7596a72..9987e29774 100644
--- a/plugins/Toaster/src/services.cpp
+++ b/plugins/Toaster/src/services.cpp
@@ -19,10 +19,7 @@ static void __cdecl OnToastNotificationClicked(void* arg)
ptrT szChatRoom(db_get_tsa(hContact, szProto, "ChatRoomID"));
GCDEST gcd = { szProto, szChatRoom, GC_EVENT_CONTROL };
GCEVENT gce = { sizeof(gce), &gcd };
-
- gcd.iType = GC_EVENT_CONTROL;
gce.time = time(NULL);
-
CallServiceSync(MS_GC_EVENT, WINDOW_VISIBLE, reinterpret_cast<LPARAM>(&gce));
}
}