Commit b9e828df authored by Frédéric Delanoy's avatar Frédéric Delanoy Committed by Alexandre Julliard

dxdiag: Avoid dead increment (clang).

parent 3e1ee5b8
......@@ -109,9 +109,7 @@ static BOOL output_text_field(HANDLE hFile, const char *field_name, DWORD field_
ptr += sprintf(ptr, sprintf_fmt, field_name);
ptr += WideCharToMultiByte(CP_ACP, 0, value, value_lenW, ptr, value_lenA, NULL, NULL);
memcpy(ptr, crlf, sizeof(crlf));
ptr += sizeof(crlf);
return WriteFile(hFile, output_buffer, total_len, NULL, NULL);
}
......
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