diff --git a/dlls/msacm32/format.c b/dlls/msacm32/format.c index 1ab05ae2136..de07cba9a39 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) {