From eab579dfcba032c7ae11d36c29a3d98e308458ce Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Sun, 9 May 2010 14:12:05 +0200 Subject: [PATCH] winmm/tests: Remove two unused variables (and dead code) from check_position. --- dlls/winmm/tests/wave.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/dlls/winmm/tests/wave.c b/dlls/winmm/tests/wave.c index 03f4af407d4..77a4cc1670f 100644 --- a/dlls/winmm/tests/wave.c +++ b/dlls/winmm/tests/wave.c @@ -482,14 +482,9 @@ static void check_position(int device, HWAVEOUT wout, DWORD bytes, LPWAVEFORMATEX pwfx ) { MMTIME mmtime; - DWORD samples; - double duration; MMRESULT rc; DWORD returned; - samples=bytes/(pwfx->wBitsPerSample/8*pwfx->nChannels); - duration=((double)samples)/pwfx->nSamplesPerSec; - mmtime.wType = TIME_BYTES; rc=waveOutGetPosition(wout, &mmtime, sizeof(mmtime)); ok(rc==MMSYSERR_NOERROR, -- 2.11.4.GIT