dxdiag: Avoid dead increment (clang).

This commit is contained in:
Frédéric Delanoy 2011-11-10 02:35:06 +01:00 committed by Alexandre Julliard
parent 3e1ee5b8b7
commit b9e828df0a
1 changed files with 0 additions and 2 deletions

View File

@ -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);
}