diff options
author | Qiu Shumin <shumin.qiu@intel.com> | 2015-09-18 01:08:31 +0000 |
---|---|---|
committer | shenshushi <shenshushi@Edk2> | 2015-09-18 01:08:31 +0000 |
commit | 1fab91765f9c3687ba48625323b634f246c2ee10 (patch) | |
tree | afb19a0a064f31235129c25973113787c17fa4b0 /EmulatorPkg/MiscSubClassPlatformDxe/MiscSystemManufacturerData.c | |
parent | a46bbdd379b54cd465ba75a84596babc8cbc5dbc (diff) | |
download | edk2-platforms-1fab91765f9c3687ba48625323b634f246c2ee10.tar.xz |
ShellPkg: Fix GCC build fail and code refine.
1. Fix GCC build fail.
2. It's not correct to cast away constness to allow TrimSpaces() to modify 'commandline'.
This patch makes a copy of 'commandLine' and work with that in the remainder of the function.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qiu Shumin <shumin.qiu@intel.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18500 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EmulatorPkg/MiscSubClassPlatformDxe/MiscSystemManufacturerData.c')
0 files changed, 0 insertions, 0 deletions