setupapi: Fixed wrong check (Coverity).
This commit is contained in:
parent
1059f697f0
commit
270dbc9d07
|
@ -351,7 +351,7 @@ BOOL WINAPI SetupDiClassGuidsFromNameExA(
|
|||
if (ClassNameW == NULL)
|
||||
return FALSE;
|
||||
|
||||
if (MachineNameW)
|
||||
if (MachineName)
|
||||
{
|
||||
MachineNameW = MultiByteToUnicode(MachineName, CP_ACP);
|
||||
if (MachineNameW == NULL)
|
||||
|
|
Loading…
Reference in New Issue