mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
Initialize DbgLoadOptions from the start. It would be unitialized if a bootcd
was made without having the right section in txtsetup.sif. svn path=/trunk/; revision=36423
This commit is contained in:
@@ -46,7 +46,7 @@ VOID RunLoader(VOID)
|
||||
{
|
||||
ULONG i;
|
||||
LPCSTR SourcePath;
|
||||
LPCSTR LoadOptions, DbgLoadOptions;
|
||||
LPCSTR LoadOptions, DbgLoadOptions = "";
|
||||
LPCSTR sourcePaths[] = {
|
||||
"", /* Only for floppy boot */
|
||||
#if defined(_M_IX86)
|
||||
@@ -153,8 +153,6 @@ VOID RunLoader(VOID)
|
||||
if (!InfGetDataField (&InfContext, 1, &DbgLoadOptions))
|
||||
DbgLoadOptions = "";
|
||||
}
|
||||
#else
|
||||
DbgLoadOptions = "";
|
||||
#endif
|
||||
if (!strlen(DbgLoadOptions) && !InfFindFirstLine (InfHandle,
|
||||
"SetupData",
|
||||
|
||||
Reference in New Issue
Block a user