summaryrefslogtreecommitdiff
path: root/ShellPkg/Library/UefiShellLib
diff options
context:
space:
mode:
authorQiu Shumin <shumin.qiu@intel.com>2016-01-26 08:17:19 +0000
committerHao Wu <hao.a.wu@intel.com>2016-07-13 20:41:49 +0800
commit5d39fef92a28953c7abfe61398401a9d0823e80b (patch)
tree75082f66f22de870dcc2e9d1b6263e38420c814f /ShellPkg/Library/UefiShellLib
parentf6839e1c399c72b39820d79d2b44fa407a5e2b22 (diff)
downloadedk2-platforms-5d39fef92a28953c7abfe61398401a9d0823e80b.tar.xz
ShellPkg: Refine the code to avoid use a constant number as offset.
Refine the code to use 'sizeof(EFI_LOAD_OPTION)' as offset in buffer to get 'description' instead of using a constant number. This change makes the code more readable. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Qiu Shumin <shumin.qiu@intel.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19746 6f19259b-4bc3-4df7-8a09-765794883524 (cherry picked from commit aed8c66dac8731e8175cdeaff78e24c1ff728b90)
Diffstat (limited to 'ShellPkg/Library/UefiShellLib')
0 files changed, 0 insertions, 0 deletions