summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-08-19 09:16:34 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-08-19 09:16:34 +0000
commit886e870f323ce3fa00f3b43d8a58d976e92e82ab (patch)
tree8bfddd98c9356ac65a3ae4d524edfb676b3210e1 /plugins
parente866f23fb250ef42e795c660f9769a3c2a62db62 (diff)
warning fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@14994 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-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));
}
}