mirror of https://github.com/acidanthera/audk.git
MdeModulePkg/EbcDxe: Initialize variable after declaration
Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Pete Batard <pete@akeo.ie> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan.bi@intel.com> Reviewed-by: Jiewen.yao@intel.com
This commit is contained in:
parent
e8a5ac7c49
commit
8fd543c77a
|
@ -487,7 +487,9 @@ EdbExceptionHandler (
|
|||
CHAR16 *CommandArg;
|
||||
EFI_DEBUGGER_COMMAND DebuggerCommand;
|
||||
EFI_DEBUG_STATUS DebugStatus;
|
||||
STATIC BOOLEAN mInitialized = FALSE;
|
||||
STATIC BOOLEAN mInitialized;
|
||||
|
||||
mInitialized = FALSE;
|
||||
|
||||
DEBUG ((DEBUG_ERROR, "Hello EBC Debugger!\n"));
|
||||
|
||||
|
|
|
@ -1183,11 +1183,13 @@ EdbLoadCodBySymbolByIec (
|
|||
VOID *BufferEnd;
|
||||
UINTN Offset;
|
||||
EDB_EBC_COD_PARSE_STATE CodParseState;
|
||||
CHAR8 Char[2] = {9, 0};
|
||||
CHAR8 Char[2];
|
||||
|
||||
//
|
||||
// Init
|
||||
//
|
||||
Char[0] = 9;
|
||||
Char[1] = 0;
|
||||
LineBuffer = AsciiStrGetNewTokenLine (Buffer, "\n\r");
|
||||
Offset = (UINTN)-1;
|
||||
BufferStart = NULL;
|
||||
|
|
Loading…
Reference in New Issue