https://git.reactos.org/?p=reactos.git;a=commitdiff;h=abc84a742b0133a3b36f4…
commit abc84a742b0133a3b36f46a19753e1907f0bfc77
Author: Serge Gautherie <reactos-git_serge_171003(a)gautherie.fr>
AuthorDate: Thu Nov 12 01:22:46 2020 +0100
Commit: Victor Perevertkin <victor(a)perevertkin.ru>
CommitDate: Fri Mar 5 00:43:15 2021 +0300
[FREELDR] LoadAndBootWindowsCommon(): Use UNREACHABLE, on success
KiSystemStartup() is DECLSPEC_NORETURN.
---
boot/freeldr/freeldr/ntldr/winldr.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/boot/freeldr/freeldr/ntldr/winldr.c b/boot/freeldr/freeldr/ntldr/winldr.c
index e57c3826114..68036794941 100644
--- a/boot/freeldr/freeldr/ntldr/winldr.c
+++ b/boot/freeldr/freeldr/ntldr/winldr.c
@@ -1035,7 +1035,8 @@ LoadAndBootWindowsCommon(
/* Pass control */
(*KiSystemStartup)(LoaderBlockVA);
- return ESUCCESS;
+
+ UNREACHABLE; // return ESUCCESS;
}
VOID