audk/Vlv2TbltDevicePkg/Feature/Capsule/Library
Michael D Kinney 3eac7496be 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>
2019-05-09 19:58:05 -07:00
..
FmpDeviceLib Vlv2TbltDevicePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:31 -07:00
FmpDeviceLibSample Vlv2TbltDevicePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:31 -07:00
PlatformFlashAccessLib Vlv2TbltDevicePkg/PlatformFlashAccessLib: Add error return 2019-05-09 19:58:05 -07:00