From 055c51aaf2914396abfb8c109323c19f62bce3d8 Mon Sep 17 00:00:00 2001 From: Joachim Henze Date: Mon, 21 Dec 2020 01:03:00 +0100 Subject: [PATCH] [0.4.11][WIN32SS] Silence ghosting logging even more This logging is uninteresting even upon first call. Ftr we did not invest a static variable for that in 0.4.10 where ghosting was not implemented at all and we did not invest a static variable for that in 0.4.12 where we began to implement it and we should not invest that variable for 0.4.11 where we stubbed it just. That logging in 0.4.11 won't help us for anything, neither one or n times logged. Addendum to 0.4.11-RC-5-g 996250e --- win32ss/user/ntuser/ghost.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/win32ss/user/ntuser/ghost.c b/win32ss/user/ntuser/ghost.c index 726fe8ff3d8..af80736cd30 100644 --- a/win32ss/user/ntuser/ghost.c +++ b/win32ss/user/ntuser/ghost.c @@ -1,7 +1,7 @@ /* * PROJECT: ReactOS user32.dll * LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later) - * PURPOSE: Ghost window handling + * PURPOSE: Window ghosting feature * COPYRIGHT: Copyright 2018 Katayama Hirofumi MZ (katayama.hirofumi.mz@gmail.com) */ @@ -13,11 +13,5 @@ BOOL FASTCALL IntGoGhost(PWND Window, BOOL bGo) // 1. Create a thread. // 2. Create a ghost window in the thread. // 3. Do message loop in the thread - static int bWarnedOnce = 0; - if (!bWarnedOnce) - { - bWarnedOnce++; - STUB; - } return FALSE; }