diff options
author | Michael D Kinney <michael.d.kinney@intel.com> | 2019-05-08 14:34:58 -0700 |
---|---|---|
committer | Michael D Kinney <michael.d.kinney@intel.com> | 2019-05-09 19:58:05 -0700 |
commit | 3eac7496bef1636b3745ff015581012534a47721 (patch) | |
tree | d8bdf7859fb65088f7ef95ba40b5cc51629ef258 /BaseTools/Source/Python/Common/LongFilePathSupport.py | |
parent | 21d5bf86b2238e78f92e403843e9cb7869cd28e7 (diff) | |
download | edk2-3eac7496bef1636b3745ff015581012534a47721.tar.gz edk2-3eac7496bef1636b3745ff015581012534a47721.tar.bz2 edk2-3eac7496bef1636b3745ff015581012534a47721.zip |
Vlv2TbltDevicePkg/PlatformFlashAccessLib: Add error return
If the FLASH device cannot be erased or written, then the
flag FlashError is set to TRUE.
Add the missing logic to return an error if FlashError
is TRUE. The missing logic was found from a GCC build that
noticed a local variable was declared and assigned, but was
not being used.
Cc: Zailiang Sun <zailiang.sun@intel.com>
Cc: Yi Qian <yi.qian@intel.com>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Zailiang Sun <zailiang.sun@intel.com>
Reviewed-by: Yi Qian <yi.qian@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Common/LongFilePathSupport.py')
0 files changed, 0 insertions, 0 deletions