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:
parent
92d31164aa
commit
194851e560
|
@ -2078,7 +2078,7 @@ static void test_smart_tee_filter(void)
|
||||||
if (FAILED(hr))
|
if (FAILED(hr))
|
||||||
goto end;
|
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));
|
"filter's name is meant to be empty but it's %s\n", wine_dbgstr_w(filterInfo.achName));
|
||||||
|
|
||||||
hr = IBaseFilter_EnumPins(smartTeeFilter, &enumPins);
|
hr = IBaseFilter_EnumPins(smartTeeFilter, &enumPins);
|
||||||
|
|
Loading…
Reference in New Issue