user32/tests: Avoid an unneeded lstrlenA() call.
Note that ptr may be NULL (see ok() check a few lines up). Signed-off-by: Francois Gouget <fgouget@free.fr> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
e248170e30
commit
3b91403e41
|
@ -1977,7 +1977,7 @@ static void test_DdeCreateDataHandle(void)
|
|||
ok(size == 262, "Expected 262, got %d\n", size);
|
||||
todo_wine
|
||||
{
|
||||
ok(lstrlenA((LPSTR)ptr) == 0, "Expected 0, got %d\n", lstrlenA((LPSTR)ptr));
|
||||
ok(ptr && !*ptr, "Expected 0, got %d\n", lstrlenA((LPSTR)ptr));
|
||||
}
|
||||
|
||||
ret = DdeUnaccessData(hdata);
|
||||
|
|
Loading…
Reference in New Issue