Module: wine Branch: master Commit: 194851e560c7c4ff5da7fe6b00e5a511ed662bb2 URL: https://source.winehq.org/git/wine.git/?a=commit;h=194851e560c7c4ff5da7fe6b0...
Author: Francois Gouget fgouget@free.fr Date: Tue Dec 10 09:29:03 2019 +0100
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
---
dlls/qcap/tests/smartteefilter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/qcap/tests/smartteefilter.c b/dlls/qcap/tests/smartteefilter.c index 4eac344d53..014c6ee2d1 100644 --- a/dlls/qcap/tests/smartteefilter.c +++ b/dlls/qcap/tests/smartteefilter.c @@ -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);