Kai Blin : winmm: Remove unused variable and if check (Coverity).
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Jan 8 06:35:34 CST 2007
Module: wine
Branch: master
Commit: 6819fa520f6d88e1aa6981affedff3bd4f807bdf
URL: http://source.winehq.org/git/wine.git/?a=commit;h=6819fa520f6d88e1aa6981affedff3bd4f807bdf
Author: Kai Blin <kai.blin at gmail.com>
Date: Sun Jan 7 11:09:24 2007 +0100
winmm: Remove unused variable and if check (Coverity).
---
dlls/winmm/mci.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/dlls/winmm/mci.c b/dlls/winmm/mci.c
index aa15e00..4eb4a72 100644
--- a/dlls/winmm/mci.c
+++ b/dlls/winmm/mci.c
@@ -1257,7 +1257,6 @@ DWORD WINAPI mciSendStringW(LPCWSTR lpst
DWORD retType;
LPCWSTR lpCmd = 0;
LPWSTR devAlias = NULL;
- BOOL bAutoOpen = FALSE;
static const WCHAR wszNew[] = {'n','e','w',0};
static const WCHAR wszSAliasS[] = {' ','a','l','i','a','s',' ',0};
static const WCHAR wszTypeS[] = {'t','y','p','e',' ',0};
@@ -1420,10 +1419,6 @@ DWORD WINAPI mciSendStringW(LPCWSTR lpst
if ((dwRet = MCI_ParseOptArgs(data, offset, lpCmd, args, &dwFlags)))
goto errCleanUp;
- if (bAutoOpen && (dwFlags & MCI_NOTIFY)) {
- dwRet = MCIERR_NOTIFY_ON_AUTO_OPEN;
- goto errCleanUp;
- }
/* FIXME: the command should get it's own notification window set up and
* ask for device closing while processing the notification mechanism
*/
More information about the wine-cvs
mailing list