https://git.reactos.org/?p=reactos.git;a=commitdiff;h=74a82c831b7b4316ff452379902f58bf462c14e7
commit 74a82c831b7b4316ff452379902f58bf462c14e7 Author: Serge Gautherie <32623169+sergegauthe...@users.noreply.github.com> AuthorDate: Sat Dec 23 21:38:09 2023 +0100 Commit: GitHub <nore...@github.com> CommitDate: Sat Dec 23 21:38:09 2023 +0100 [SETUPAPI] CMP_RegisterNotification(): Remove duplicated code (#6207) Addendum to commit 9277f5352 --- dll/win32/setupapi/cfgmgr.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/dll/win32/setupapi/cfgmgr.c b/dll/win32/setupapi/cfgmgr.c index ef29d045f8c..e42530fe60d 100644 --- a/dll/win32/setupapi/cfgmgr.c +++ b/dll/win32/setupapi/cfgmgr.c @@ -645,11 +645,6 @@ CMP_RegisterNotification( nLength = GetWindowTextW((HWND)hRecipient, szNameBuffer, ARRAYSIZE(szNameBuffer)); - if (nLength == 0) - { - - } - if (nLength == 0) { szNameBuffer[0] = UNICODE_NULL;