Commit 270dbc9d authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

setupapi: Fixed wrong check (Coverity).

parent 1059f697
......@@ -351,7 +351,7 @@ BOOL WINAPI SetupDiClassGuidsFromNameExA(
if (ClassNameW == NULL)
return FALSE;
if (MachineNameW)
if (MachineName)
{
MachineNameW = MultiByteToUnicode(MachineName, CP_ACP);
if (MachineNameW == NULL)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment