https://git.reactos.org/?p=reactos.git;a=commitdiff;h=abc84a742b0133a3b36f46a19753e1907f0bfc77

commit abc84a742b0133a3b36f46a19753e1907f0bfc77
Author:     Serge Gautherie <[email protected]>
AuthorDate: Thu Nov 12 01:22:46 2020 +0100
Commit:     Victor Perevertkin <[email protected]>
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

Reply via email to