Commit 099303c4 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

kernel32: Remove redundant not 0 check (coccinellery).

parent fd853c5e
......@@ -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;
}
......
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