From 99b8a71b9dee0d63603fffcbd118786ecf1e530c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herm=C3=A8s=20B=C3=A9lusca-Ma=C3=AFto?= Date: Mon, 26 Sep 2016 22:52:04 +0000 Subject: [PATCH] [USERINIT]: Addendum to r72823 (sorry for the redundant commits): Fix a use without initialization warning for the 'Success' variable: initialize it to TRUE so that we by default do not perform the main menu loop (in livecd mode). svn path=/trunk/; revision=72824 --- reactos/base/system/userinit/userinit.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/reactos/base/system/userinit/userinit.c b/reactos/base/system/userinit/userinit.c index 1621e4b25bf..48034592c13 100644 --- a/reactos/base/system/userinit/userinit.c +++ b/reactos/base/system/userinit/userinit.c @@ -577,8 +577,7 @@ wWinMain(IN HINSTANCE hInst, IN LPWSTR lpszCmdLine, IN int nCmdShow) { - BOOL bIsLiveCD; - BOOL Success; + BOOL bIsLiveCD, Success = TRUE; STATE State; hInstance = hInst;