winmm: remove flg from MCI_DumpCommandTable, where it's unused

Austin English austinenglish at gmail.com
Thu May 27 10:57:08 CDT 2010


-- 
-Austin
-------------- next part --------------
diff --git a/dlls/winmm/mci.c b/dlls/winmm/mci.c
index f65aee7..fffaad4 100644
--- a/dlls/winmm/mci.c
+++ b/dlls/winmm/mci.c
@@ -624,7 +624,6 @@ static      BOOL            MCI_DumpCommandTable(UINT uTbl)
 {
     const BYTE*        lmem;
     LPCWSTR    str;
-    DWORD      flg;
     WORD       eid;

     if (!MCI_IsCommandTableValid(uTbl)) {
@@ -637,9 +636,8 @@ static      BOOL            MCI_DumpCommandTable(UINT uTbl)
        do {
            str = (LPCWSTR)lmem;
            lmem += (strlenW(str) + 1) * sizeof(WCHAR);
-           flg = *(const DWORD*)lmem;
            eid = *(const WORD*)(lmem + sizeof(DWORD));
-            /* TRACE("cmd=%s %08lx %04x\n", debugstr_w(str), flg, eid); */
+            /* TRACE("cmd=%s %04x\n", debugstr_w(str), eid); */
            lmem += sizeof(DWORD) + sizeof(WORD);
        } while (eid != MCI_END_COMMAND && eid != MCI_END_COMMAND_LIST);
         /* EPP TRACE(" => end of command%s\n", (eid == MCI_END_COMMAND_LIST) ? " list" : ""); */


More information about the wine-patches mailing list