qcap/tests: Avoid an unneeded lstrlenW() call.

Note that achName is an array field and thus cannot be NULL.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Francois Gouget 2019-12-10 09:29:03 +01:00 committed by Alexandre Julliard
parent 92d31164aa
commit 194851e560
1 changed files with 1 additions and 1 deletions

View File

@ -2078,7 +2078,7 @@ static void test_smart_tee_filter(void)
if (FAILED(hr))
goto end;
ok(lstrlenW(filterInfo.achName) == 0,
ok(!*filterInfo.achName,
"filter's name is meant to be empty but it's %s\n", wine_dbgstr_w(filterInfo.achName));
hr = IBaseFilter_EnumPins(smartTeeFilter, &enumPins);