Gerald Pfeifer : winmm: Simplify MCI_DumpCommandTable a bit.

Alexandre Julliard julliard at winehq.org
Fri Feb 18 10:50:17 CST 2011


Module: wine
Branch: master
Commit: 1dae68e71bc1e779306a0807bb71e0737aa2da4f
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=1dae68e71bc1e779306a0807bb71e0737aa2da4f

Author: Gerald Pfeifer <gerald at pfeifer.com>
Date:   Fri Feb 18 04:03:01 2011 +0100

winmm: Simplify MCI_DumpCommandTable a bit.

---

 dlls/winmm/mci.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/winmm/mci.c b/dlls/winmm/mci.c
index 30db363..8a889d2 100644
--- 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);




More information about the wine-cvs mailing list