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:
Michael Stefaniuc 2019-02-20 20:54:25 +01:00 committed by Alexandre Julliard
parent fd853c5e78
commit 099303c459
1 changed files with 1 additions and 1 deletions

View File

@ -1612,7 +1612,7 @@ DWORD WINAPI K32GetModuleFileNameExA(HANDLE process, HMODULE module,
if ( process == GetCurrentProcess() )
{
len = GetModuleFileNameA( module, file_name, size );
if (size) file_name[size - 1] = '\0';
file_name[size - 1] = '\0';
return len;
}