Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
b9e828df
Commit
b9e828df
authored
Nov 10, 2011
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Nov 14, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dxdiag: Avoid dead increment (clang).
parent
3e1ee5b8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
output.c
programs/dxdiag/output.c
+0
-2
No files found.
programs/dxdiag/output.c
View file @
b9e828df
...
...
@@ -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
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment