Gerald Pfeifer : winmm/tests: Remove two unused variables (and dead code) from check_position.
Alexandre Julliard
julliard at winehq.org
Mon May 10 11:59:16 CDT 2010
Module: wine
Branch: master
Commit: eab579dfcba032c7ae11d36c29a3d98e308458ce
URL: http://source.winehq.org/git/wine.git/?a=commit;h=eab579dfcba032c7ae11d36c29a3d98e308458ce
Author: Gerald Pfeifer <gerald at pfeifer.com>
Date: Sun May 9 14:12:05 2010 +0200
winmm/tests: Remove two unused variables (and dead code) from check_position.
---
dlls/winmm/tests/wave.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/dlls/winmm/tests/wave.c b/dlls/winmm/tests/wave.c
index 03f4af4..77a4cc1 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,
More information about the wine-cvs
mailing list