Gerald Pfeifer : winmm: Remove variable devID which is not really used from MMDRV_Message.
Alexandre Julliard
julliard at winehq.org
Mon Apr 26 13:59:25 CDT 2010
Module: wine
Branch: master
Commit: 2af5528a0c6860f95c29be0d7339a452556acfc2
URL: http://source.winehq.org/git/wine.git/?a=commit;h=2af5528a0c6860f95c29be0d7339a452556acfc2
Author: Gerald Pfeifer <gerald at pfeifer.com>
Date: Sat Apr 24 14:07:05 2010 +0200
winmm: Remove variable devID which is not really used from MMDRV_Message.
---
dlls/winmm/lolvldrv.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/dlls/winmm/lolvldrv.c b/dlls/winmm/lolvldrv.c
index 0d10998..193310f 100644
--- a/dlls/winmm/lolvldrv.c
+++ b/dlls/winmm/lolvldrv.c
@@ -93,7 +93,6 @@ DWORD MMDRV_Message(LPWINE_MLD mld, UINT wMsg, DWORD_PTR dwParam1,
DWORD ret;
WINE_MM_DRIVER_PART* part;
WINE_LLTYPE* llType = &llTypes[mld->type];
- int devID;
TRACE("(%s %u %u 0x%08lx 0x%08lx 0x%08lx)\n",
llTypes[mld->type].typestr, mld->uDeviceID, wMsg,
@@ -105,13 +104,11 @@ DWORD MMDRV_Message(LPWINE_MLD mld, UINT wMsg, DWORD_PTR dwParam1,
llTypes[mld->type].typestr);
return MMSYSERR_BADDEVICEID;
}
- devID = -1;
} else {
if (mld->uDeviceID >= llType->wMaxId) {
WARN("uDev(%u) requested >= max (%d)\n", mld->uDeviceID, llType->wMaxId);
return MMSYSERR_BADDEVICEID;
}
- devID = mld->uDeviceID;
}
lpDrv = &MMDrvs[mld->mmdIndex];
More information about the wine-cvs
mailing list