http://git.etersoft.ru/projects
/
wine
/
eterwine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
798edfe
)
winmm: Simplify MCI_DumpCommandTable a bit.
author
Gerald Pfeifer
<gerald@pfeifer.com>
Fri, 18 Feb 2011 03:03:01 +0000
(
04:03
+0100)
committer
Alexandre Julliard
<julliard@winehq.org>
Fri, 18 Feb 2011 13:54:51 +0000
(14:54 +0100)
dlls/winmm/mci.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/winmm/mci.c
b/dlls/winmm/mci.c
index 30db36355267ecd1957b33278aee834666332eee..8a889d27e9241acc7b771a0b8f6ac45d53f84e5e 100644
(file)
--- a/
dlls/winmm/mci.c
+++ b/
dlls/winmm/mci.c
@@
-625,7
+625,6
@@
static BOOL MCI_DumpCommandTable(UINT uTbl)
{
const BYTE* lmem;
LPCWSTR str;
- DWORD flg;
WORD eid;
if (!MCI_IsCommandTableValid(uTbl)) {
@@
-636,9
+635,10
@@
static BOOL MCI_DumpCommandTable(UINT uTbl)
lmem = S_MciCmdTable[uTbl].lpTable;
do {
do {
+ /* DWORD flg; */
str = (LPCWSTR)lmem;
lmem += (strlenW(str) + 1) * sizeof(WCHAR);
- flg = *(const DWORD*)lmem;
+ /* flg = *(const DWORD*)lmem; */
eid = *(const WORD*)(lmem + sizeof(DWORD));
/* TRACE("cmd=%s %08lx %04x\n", debugstr_w(str), flg, eid); */
lmem += sizeof(DWORD) + sizeof(WORD);