kernel32: Remove redundant not 0 check (coccinellery).
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
fd853c5e78
commit
099303c459
|
@ -1612,7 +1612,7 @@ DWORD WINAPI K32GetModuleFileNameExA(HANDLE process, HMODULE module,
|
||||||
if ( process == GetCurrentProcess() )
|
if ( process == GetCurrentProcess() )
|
||||||
{
|
{
|
||||||
len = GetModuleFileNameA( module, file_name, size );
|
len = GetModuleFileNameA( module, file_name, size );
|
||||||
if (size) file_name[size - 1] = '\0';
|
file_name[size - 1] = '\0';
|
||||||
return len;
|
return len;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue