mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 11:43:31 +00:00
setupapi: Fixed wrong check (Coverity).
This commit is contained in:
parent
1059f697f0
commit
270dbc9d07
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue