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
aa95bc4e
Commit
aa95bc4e
authored
Oct 02, 2010
by
Detlef Riekenberg
Committed by
Alexandre Julliard
Oct 04, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winmm/tests: Set a struct member to 0 is obsolete after adding a memset.
parent
99e557f0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
midi.c
dlls/winmm/tests/midi.c
+0
-3
No files found.
dlls/winmm/tests/midi.c
View file @
aa95bc4e
...
@@ -128,7 +128,6 @@ static void test_midiIn_device(UINT udev, HWND hwnd)
...
@@ -128,7 +128,6 @@ static void test_midiIn_device(UINT udev, HWND hwnd)
test_notification
(
hwnd
,
"midiInOpen"
,
MIM_OPEN
,
0
);
test_notification
(
hwnd
,
"midiInOpen"
,
MIM_OPEN
,
0
);
memset
(
&
mhdr
,
0
,
sizeof
(
mhdr
));
memset
(
&
mhdr
,
0
,
sizeof
(
mhdr
));
mhdr
.
dwFlags
=
0
;
mhdr
.
dwUser
=
0x56FA552C
;
mhdr
.
dwUser
=
0x56FA552C
;
mhdr
.
dwBufferLength
=
70000
;
/* > 64KB! */
mhdr
.
dwBufferLength
=
70000
;
/* > 64KB! */
mhdr
.
lpData
=
HeapAlloc
(
GetProcessHeap
(),
0
,
mhdr
.
dwBufferLength
);
mhdr
.
lpData
=
HeapAlloc
(
GetProcessHeap
(),
0
,
mhdr
.
dwBufferLength
);
...
@@ -285,7 +284,6 @@ static void test_midiOut_device(UINT udev, HWND hwnd)
...
@@ -285,7 +284,6 @@ static void test_midiOut_device(UINT udev, HWND hwnd)
}
}
memset
(
&
mhdr
,
0
,
sizeof
(
mhdr
));
memset
(
&
mhdr
,
0
,
sizeof
(
mhdr
));
mhdr
.
dwFlags
=
0
;
mhdr
.
dwUser
=
0x56FA552C
;
mhdr
.
dwUser
=
0x56FA552C
;
mhdr
.
dwOffset
=
0xDEADBEEF
;
mhdr
.
dwOffset
=
0xDEADBEEF
;
mhdr
.
dwBufferLength
=
70000
;
/* > 64KB! */
mhdr
.
dwBufferLength
=
70000
;
/* > 64KB! */
...
@@ -410,7 +408,6 @@ static void test_midiStream(UINT udev, HWND hwnd)
...
@@ -410,7 +408,6 @@ static void test_midiStream(UINT udev, HWND hwnd)
todo_wine
ok
(
24
==
LOWORD
(
midiprop
.
tdiv
.
dwTimeDiv
),
"default stream time division %u
\n
"
,
midiprop
.
tdiv
.
dwTimeDiv
);
todo_wine
ok
(
24
==
LOWORD
(
midiprop
.
tdiv
.
dwTimeDiv
),
"default stream time division %u
\n
"
,
midiprop
.
tdiv
.
dwTimeDiv
);
memset
(
&
mhdr
,
0
,
sizeof
(
mhdr
));
memset
(
&
mhdr
,
0
,
sizeof
(
mhdr
));
mhdr
.
dwFlags
=
0
;
mhdr
.
dwUser
=
0x56FA552C
;
mhdr
.
dwUser
=
0x56FA552C
;
mhdr
.
dwOffset
=
1234567890
;
mhdr
.
dwOffset
=
1234567890
;
mhdr
.
dwBufferLength
=
sizeof
(
strmEvents
);
mhdr
.
dwBufferLength
=
sizeof
(
strmEvents
);
...
...
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