summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/Common/ToolDefClassObject.py
diff options
context:
space:
mode:
authorMichael D Kinney <michael.d.kinney@intel.com>2019-05-09 00:34:58 +0300
committerMichael D Kinney <michael.d.kinney@intel.com>2019-05-10 05:58:05 +0300
commit3eac7496bef1636b3745ff015581012534a47721 (patch)
treed8bdf7859fb65088f7ef95ba40b5cc51629ef258 /BaseTools/Source/Python/Common/ToolDefClassObject.py
parent21d5bf86b2238e78f92e403843e9cb7869cd28e7 (diff)
downloadedk2-3eac7496bef1636b3745ff015581012534a47721.tar.xz
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/ToolDefClassObject.py')
0 files changed, 0 insertions, 0 deletions