From 1d8d61cc0a86fbd1294ddc5b07649cd477fd1de5 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 10 Sep 2015 13:56:09 +0000 Subject: unused atl include files removed git-svn-id: http://svn.miranda-ng.org/main/trunk@15320 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/SkypeStatusChange/src/main.cpp | 10 +++++----- plugins/SkypeStatusChange/src/options.cpp | 2 +- plugins/SkypeStatusChange/src/stdafx.h | 2 -- 3 files changed, 6 insertions(+), 8 deletions(-) (limited to 'plugins') diff --git a/plugins/SkypeStatusChange/src/main.cpp b/plugins/SkypeStatusChange/src/main.cpp index b8ab4b47ba..a736c1d421 100644 --- a/plugins/SkypeStatusChange/src/main.cpp +++ b/plugins/SkypeStatusChange/src/main.cpp @@ -140,7 +140,7 @@ static void ThreadFunc(void*) } else { DWORD dwResult = ::MsgWaitForMultipleObjects(1, &g_hEventShutdown, FALSE, INFINITE, QS_ALLEVENTS); - _ASSERT(WAIT_FAILED != dwResult); + assert(WAIT_FAILED != dwResult); if (WAIT_OBJECT_0 == dwResult) break; } @@ -240,17 +240,17 @@ int SSC_OnPreShutdown(WPARAM/* wParam*/, LPARAM/* lParam*/) { g_bMirandaIsShutdown = true; BOOL b = SetEvent(g_hEventShutdown); - _ASSERT(b && "SetEvent failed"); + assert(b && "SetEvent failed"); DWORD dwResult = ::WaitForSingleObject(g_hThread, INFINITE); - _ASSERT(WAIT_FAILED != dwResult); + assert(WAIT_FAILED != dwResult); b = ::CloseHandle(g_hEventShutdown); - _ASSERT(b && "CloseHandle event"); + assert(b && "CloseHandle event"); if (g_wndMainWindow) { b = DestroyWindow(g_wndMainWindow); - _ASSERT(b && "DestoryWindow"); + assert(b && "DestoryWindow"); g_wndMainWindow = NULL; } diff --git a/plugins/SkypeStatusChange/src/options.cpp b/plugins/SkypeStatusChange/src/options.cpp index 56571b3e55..a600cb3e12 100644 --- a/plugins/SkypeStatusChange/src/options.cpp +++ b/plugins/SkypeStatusChange/src/options.cpp @@ -145,7 +145,7 @@ inline ETreeCheckBoxState tree_get_state_image(HWND hwndTree,HTREEITEM hti) return static_cast(nState); } - _ASSERT(!"we should never get here!"); + assert(!"we should never get here!"); return TCBS_UNCHECKED; } diff --git a/plugins/SkypeStatusChange/src/stdafx.h b/plugins/SkypeStatusChange/src/stdafx.h index 934eccdbb4..307fa73413 100644 --- a/plugins/SkypeStatusChange/src/stdafx.h +++ b/plugins/SkypeStatusChange/src/stdafx.h @@ -2,8 +2,6 @@ #include #include #include -#include -#include #include #include -- cgit v1.2.3