Author: hbelusca
Date: Mon Sep 26 22:52:04 2016
New Revision: 72824
URL:
http://svn.reactos.org/svn/reactos?rev=72824&view=rev
Log:
[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).
Modified:
trunk/reactos/base/system/userinit/userinit.c
Modified: trunk/reactos/base/system/userinit/userinit.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/userinit/useri…
==============================================================================
--- trunk/reactos/base/system/userinit/userinit.c [iso-8859-1] (original)
+++ trunk/reactos/base/system/userinit/userinit.c [iso-8859-1] Mon Sep 26 22:52:04 2016
@@ -577,8 +577,7 @@
IN LPWSTR lpszCmdLine,
IN int nCmdShow)
{
- BOOL bIsLiveCD;
- BOOL Success;
+ BOOL bIsLiveCD, Success = TRUE;
STATE State;
hInstance = hInst;