winmm/tests: Remove two unused variables (and dead code) from check_position.

This commit is contained in:
Gerald Pfeifer 2010-05-09 14:12:05 +02:00 committed by Alexandre Julliard
parent 173a813e6a
commit eab579dfcb
1 changed files with 0 additions and 5 deletions

View File

@ -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,