[PATCH 0/1] MR11259: dsound/tests: Remove unused variable.
Fixes -Wunused-but-set-global warnings. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/11259
From: Jacek Caban <jacek@codeweavers.com> Fixes -Wunused-but-set-global warnings. --- dlls/dsound/tests/dsound8.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/dlls/dsound/tests/dsound8.c b/dlls/dsound/tests/dsound8.c index 1b363b9ad7b..3660eaa15df 100644 --- a/dlls/dsound/tests/dsound8.c +++ b/dlls/dsound/tests/dsound8.c @@ -1232,7 +1232,7 @@ static IMediaObject testdmo; static IMediaObjectInPlace testdmo_inplace; static LONG testdmo_refcount; static WAVEFORMATEX testdmo_input_type; -static BOOL testdmo_input_type_set, testdmo_output_type_set; +static BOOL testdmo_input_type_set; static unsigned int got_Discontinuity; static HANDLE got_Process; @@ -1339,8 +1339,6 @@ static HRESULT WINAPI dmo_SetOutputType(IMediaObject *iface, DWORD index, const ok(type->cbFormat == sizeof(WAVEFORMATEX), "Got format size %lu.\n", type->cbFormat); ok(!memcmp(type->pbFormat, &testdmo_input_type, sizeof(WAVEFORMATEX)), "Format blocks didn't match.\n"); - - testdmo_output_type_set = TRUE; return S_OK; } -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/11259
This merge request was approved by Huw Davies. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/11259
participants (3)
-
Huw Davies (@huw) -
Jacek Caban -
Jacek Caban (@jacek)