Skip to content

Commit 4f206e4

Browse files
committed
fix uninitialized hash member in tests
1 parent 5a621b2 commit 4f206e4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎lib/suppressions.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class CPPCHECKLIB SuppressionList {
5252
};
5353

5454
struct CPPCHECKLIB ErrorMessage {
55-
std::size_t hash;
55+
std::size_t hash{};
5656
std::string errorId;
5757
void setFileName(std::string s);
5858
const std::string &getFileName() const {

0 commit comments

Comments
 (0)