https://git.reactos.org/?p=reactos.git;a=commitdiff;h=a28a34f108f4d171773d6…
commit a28a34f108f4d171773d6b1fef0efebfd7a4920f
Author: Jérôme Gardou <jerome.gardou(a)reactos.org>
AuthorDate: Tue Jun 22 10:28:47 2021 +0200
Commit: Jérôme Gardou <zefklop(a)users.noreply.github.com>
CommitDate: Mon Jun 28 10:20:57 2021 +0200
[NDK][XDK] Remove _Must_inspect_result_ from RtlTimeFieldsToTime &
RtlTimeToSecondsSince1970
WDK doesn't have it and it causes more mess than anything.
CORE-17637
---
sdk/include/ndk/rtlfuncs.h | 6 ++----
sdk/include/xdk/rtlfuncs.h | 4 +---
2 files changed, 3 insertions(+), 7 deletions(-)
diff --git a/sdk/include/ndk/rtlfuncs.h b/sdk/include/ndk/rtlfuncs.h
index c45bd9f35e8..a99ba39fa0e 100644
--- a/sdk/include/ndk/rtlfuncs.h
+++ b/sdk/include/ndk/rtlfuncs.h
@@ -4575,8 +4575,7 @@ NTAPI
RtlSetTimeZoneInformation(
_In_ PRTL_TIME_ZONE_INFORMATION TimeZoneInformation);
-_Success_(return!=FALSE)
-_Must_inspect_result_
+_Success_(return != FALSE)
NTSYSAPI
BOOLEAN
NTAPI
@@ -4585,8 +4584,7 @@ RtlTimeFieldsToTime(
_Out_ PLARGE_INTEGER Time
);
-_Success_(return != 0)
-_Must_inspect_result_
+_Success_(return != FALSE)
NTSYSAPI
BOOLEAN
NTAPI
diff --git a/sdk/include/xdk/rtlfuncs.h b/sdk/include/xdk/rtlfuncs.h
index cba07f72aa5..276cfaf6cf9 100644
--- a/sdk/include/xdk/rtlfuncs.h
+++ b/sdk/include/xdk/rtlfuncs.h
@@ -932,8 +932,7 @@ RtlSetDaclSecurityDescriptor(
#define RtlStoreUlongPtr(Address,Value) RtlStoreUlong(Address,Value)
#endif /* _WIN64 */
-_Success_(return!=FALSE)
-_Must_inspect_result_
+_Success_(return != FALSE)
NTSYSAPI
BOOLEAN
NTAPI
@@ -1716,7 +1715,6 @@ RtlSecondsSince1980ToTime(
_Out_ PLARGE_INTEGER Time);
_Success_(return != 0)
-_Must_inspect_result_
NTSYSAPI
BOOLEAN
NTAPI