From ce68d3bc68eda5ce919b90aea8db094ed4b64c34 Mon Sep 17 00:00:00 2001 From: lzeng14 Date: Thu, 11 Oct 2012 02:15:23 +0000 Subject: Add missing braces around initializer. Signed-off-by: Star Zeng Reviewed-by: Jaben Carsey Reviewed-by: Qian Ouyang Reviewed-by: Ruiyu Ni Reviewed-by: Feng Tian Reviewed-by: Jeff Fan git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13817 6f19259b-4bc3-4df7-8a09-765794883524 --- ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/MainTextEditor.c | 5 ++--- ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/MainHexEditor.c | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) (limited to 'ShellPkg/Library/UefiShellDebug1CommandsLib') diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/MainTextEditor.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/MainTextEditor.c index c5e47b105b..3583dd3df6 100644 --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/MainTextEditor.c +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/MainTextEditor.c @@ -1,7 +1,7 @@ /** @file Implements editor interface functions. - Copyright (c) 2005 - 2011, Intel Corporation. All rights reserved.
+ Copyright (c) 2005 - 2012, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -1399,8 +1399,7 @@ INTN OriginalMode; EFI_EDITOR_GLOBAL_EDITOR MainEditorConst = { &FileBuffer, { - 0, - 0 + {0, 0} }, { 0, diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/MainHexEditor.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/MainHexEditor.c index 808f7a56c0..446dac7e01 100644 --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/MainHexEditor.c +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/MainHexEditor.c @@ -4,7 +4,7 @@ - Instances of the other objects of the editor - Main Interfaces - Copyright (c) 2005 - 2011, Intel Corporation. All rights reserved.
+ Copyright (c) 2005 - 2012, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -50,8 +50,7 @@ HEFI_EDITOR_GLOBAL_EDITOR HMainEditorBackupVar; HEFI_EDITOR_GLOBAL_EDITOR HMainEditorConst = { &HBufferImage, { - 0, - 0 + {0, 0} }, { 0, -- cgit v1.2.3