Gerald Pfeifer : winmm: Remove variable devID which is not really used from MMDRV_Message.
Module: wine Branch: master Commit: 2af5528a0c6860f95c29be0d7339a452556acfc2 URL: http://source.winehq.org/git/wine.git/?a=commit;h=2af5528a0c6860f95c29be0d73... Author: Gerald Pfeifer <gerald(a)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];
participants (1)
-
Alexandre Julliard