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
fd490262
Commit
fd490262
authored
Jul 19, 2015
by
André Hentschel
Committed by
Alexandre Julliard
Jul 20, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mcicda: Remove dead code (Coverity).
parent
ff01c2a1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
mcicda.c
dlls/mcicda/mcicda.c
+1
-2
No files found.
dlls/mcicda/mcicda.c
View file @
fd490262
...
...
@@ -655,10 +655,9 @@ static DWORD MCICDA_Info(UINT wDevID, DWORD dwFlags, LPMCI_INFO_PARMSW lpParms)
if
(
!
ret
)
{
TRACE
(
"=> %s
\n
"
,
debugstr_w
(
str
));
if
(
lpParms
->
dwRetSize
)
{
WCHAR
zero
=
0
;
/* FIXME? Since NT, mciwave, mciseq and mcicda set dwRetSize
* to the number of characters written, excluding \0. */
lstrcpynW
(
lpParms
->
lpstrReturn
,
str
?
str
:
&
zero
,
lpParms
->
dwRetSize
);
lstrcpynW
(
lpParms
->
lpstrReturn
,
str
,
lpParms
->
dwRetSize
);
}
else
ret
=
MCIERR_PARAM_OVERFLOW
;
}
if
(
MMSYSERR_NOERROR
==
ret
&&
(
dwFlags
&
MCI_NOTIFY
))
...
...
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