BaseTools/VfrCompile: Resolve uninit class variables in constructor

The commit initializes those possibly uninitialized class variables in
class constructors.

Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
Hao Wu
2017-12-18 10:11:57 +08:00
parent d837f33ab0
commit b748e35c2b
3 changed files with 10 additions and 0 deletions

View File

@ -67,6 +67,7 @@ CVfrErrorHandle::CVfrErrorHandle (
mScopeRecordListTail = NULL;
mVfrErrorHandleTable = VFR_ERROR_HANDLE_TABLE;
mVfrWarningHandleTable = VFR_WARNING_HANDLE_TABLE;
mWarningAsError = FALSE;
}
CVfrErrorHandle::~CVfrErrorHandle (