msacm32: Remove dead code from acmFormatDetailsW
Bruno Jesus
00cpxxx at gmail.com
Mon Nov 23 05:49:52 CST 2015
Signed-off-by: Bruno Jesus <00cpxxx at gmail.com>
-------------- next part --------------
diff --git a/dlls/msacm32/format.c b/dlls/msacm32/format.c
index 1ab05ae..de07cba 100644
--- a/dlls/msacm32/format.c
+++ b/dlls/msacm32/format.c
@@ -400,13 +400,9 @@ MMRESULT WINAPI acmFormatDetailsW(HACMDRIVER had, PACMFORMATDETAILSW pafd, DWORD
MMRESULT mmr;
static const WCHAR fmt1[] = {'%','d',' ','H','z',0};
static const WCHAR fmt2[] = {';',' ','%','d',' ','b','i','t','s',0};
- ACMFORMATTAGDETAILSA aftd;
TRACE("(%p, %p, %d)\n", had, pafd, fdwDetails);
- memset(&aftd, 0, sizeof(aftd));
- aftd.cbStruct = sizeof(aftd);
-
if (pafd->cbStruct < sizeof(*pafd)) return MMSYSERR_INVALPARAM;
switch (fdwDetails) {
More information about the wine-patches
mailing list