Francois Gouget : shlwapi/tests: Remove SHFormatDateTimeA() crash test.
Alexandre Julliard
julliard at winehq.org
Wed Sep 1 15:45:10 CDT 2021
Module: wine
Branch: master
Commit: 72843489857d85ff7b8d8fd52a42351e39f296cd
URL: https://source.winehq.org/git/wine.git/?a=commit;h=72843489857d85ff7b8d8fd52a42351e39f296cd
Author: Francois Gouget <fgouget at 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 at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at 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 */
More information about the wine-cvs
mailing list