Skip to content

Commit c6e495d

Browse files
committed
address a kw false-positive
Change-Id: If65a8fcb50de83044a5227f4de5aab9f310d5f58
1 parent 6a7ed25 commit c6e495d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/cpucounters.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2285,9 +2285,9 @@ class BasicCounterState
22852285
template <class CounterStateType>
22862286
friend uint64 getMSREvent(const uint64 & index, const PCM::MSRType & type, const CounterStateType& before, const CounterStateType& after);
22872287
protected:
2288-
checked_uint64 InstRetiredAny;
2289-
checked_uint64 CpuClkUnhaltedThread;
2290-
checked_uint64 CpuClkUnhaltedRef;
2288+
checked_uint64 InstRetiredAny{};
2289+
checked_uint64 CpuClkUnhaltedThread{};
2290+
checked_uint64 CpuClkUnhaltedRef{};
22912291
checked_uint64 Event[PERF_MAX_CUSTOM_COUNTERS];
22922292
enum
22932293
{

0 commit comments

Comments
 (0)