[SETUPAPI] CMP_RegisterNotification(): Remove duplicated code (#6207)

Addendum to commit 9277f5352
This commit is contained in:
Serge Gautherie 2023-12-23 21:38:09 +01:00 committed by GitHub
parent ffb20d3330
commit 74a82c831b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -645,11 +645,6 @@ CMP_RegisterNotification(
nLength = GetWindowTextW((HWND)hRecipient,
szNameBuffer,
ARRAYSIZE(szNameBuffer));
if (nLength == 0)
{
}
if (nLength == 0)
{
szNameBuffer[0] = UNICODE_NULL;