Module: wine Branch: master Commit: 72843489857d85ff7b8d8fd52a42351e39f296cd URL: https://source.winehq.org/git/wine.git/?a=commit;h=72843489857d85ff7b8d8fd52...
Author: Francois Gouget fgouget@codeweavers.com Date: Wed Sep 1 11:53:35 2021 +0200
shlwapi/tests: Remove SHFormatDateTimeA() crash test.
SHFormatDateTimeA() crashes when given a NULL input pointer which is not really useful to know.
Signed-off-by: Francois Gouget fgouget@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/shlwapi/tests/ordinal.c | 6 ------ 1 file changed, 6 deletions(-)
diff --git a/dlls/shlwapi/tests/ordinal.c b/dlls/shlwapi/tests/ordinal.c index bf34cdce7ef..bac91c4c9d8 100644 --- a/dlls/shlwapi/tests/ordinal.c +++ b/dlls/shlwapi/tests/ordinal.c @@ -1674,12 +1674,6 @@ static void test_SHFormatDateTimeA(void) DWORD flags; INT ret;
-if (0) -{ - /* crashes on native */ - pSHFormatDateTimeA(NULL, NULL, NULL, 0); -} - GetLocalTime(&st); SystemTimeToFileTime(&st, &filetime); /* SHFormatDateTime expects input as utc */