Skip to content
This repository was archived by the owner on Jan 3, 2023. It is now read-only.

Commit 0850d23

Browse files
authored
Klocwork unitialized variables (#3383)
1 parent dbad9da commit 0850d23

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ngraph/runtime/chrome_trace.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,8 @@ class ngraph::runtime::event::Duration
123123

124124
private:
125125
std::string to_json() const;
126-
size_t m_start;
127-
size_t m_stop;
126+
size_t m_start{0};
127+
size_t m_stop{0};
128128
std::string m_name;
129129
std::string m_category;
130130
std::string m_args;
@@ -140,5 +140,5 @@ class ngraph::runtime::event::Object
140140
private:
141141
void write_snapshot(std::ostream& out, const std::string& args);
142142
const std::string m_name;
143-
size_t m_id;
143+
size_t m_id{0};
144144
};

0 commit comments

Comments
 (0)