feat: fix Klocwork issue (#1947)
Fix the issue - Uninitialized Variable ResetVectorTime Signed-off-by: Guo Dong <guo.dong@intel.com>
This commit is contained in:
parent
1740ead7a2
commit
2b8ca86087
|
@ -238,6 +238,7 @@ UpdateFpdtSblTable (
|
|||
}
|
||||
|
||||
// Grab relevant performance metrics
|
||||
ResetVectorTime = 0;
|
||||
for (PerfIdx = 0; PerfIdx < MAX_TS_NUM; PerfIdx++) {
|
||||
Id = (RShiftU64 (PerfData->TimeStamp[PerfIdx], 48)) & 0xFFFF;
|
||||
switch (Id) {
|
||||
|
|
Loading…
Reference in New Issue