Cc: Michael D Kinney <michael.d.kinney@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
mProgressSupported = FALSE;\r
SetLastAttemptStatusInVariable (LastAttemptStatus);\r
\r
- //\r
- // Set progress to 100 after everything is done including recording Status.\r
- //\r
- Progress (100);\r
+ if (Progress != NULL) {\r
+ //\r
+ // Set progress to 100 after everything is done including recording Status.\r
+ //\r
+ Progress (100);\r
+ }\r
\r
return Status;\r
}\r