Commit 6ae26c7b authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

shlwapi: Remove always true if-check (PVS-Studio).

parent f5298380
......@@ -5054,11 +5054,8 @@ INT WINAPI SHFormatDateTimeW(const FILETIME UNALIGNED *fileTime, DWORD *flags,
{
if ((fmt_flags & FDTF_LONGDATE) && (ret < size + 2))
{
if (ret < size + 2)
{
lstrcatW(&buf[ret-1], sep1);
ret += 2;
}
lstrcatW(&buf[ret-1], sep1);
ret += 2;
}
else
{
......
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