Skip to content

Commit

Permalink
Merge pull request #44447 from makortel/fixLogErrorEventFilter
Browse files Browse the repository at this point in the history
Initialize statsGuard_ on LogErrorEventFilter
  • Loading branch information
cmsbuild authored Mar 22, 2024
2 parents 3f418d7 + 9a49f82 commit 267ef9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DPGAnalysis/Skims/src/LogErrorEventFilter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ class LogErrorEventFilter : public edm::global::EDFilter<edm::RunCache<leef::Run
size_t maxSavedEventsPerLumi_;
bool verbose_, veryVerbose_;
bool taggedMode_, forcedValue_;
mutable std::atomic<bool> statsGuard_;
mutable std::atomic<bool> statsGuard_{false};

template <typename Collection>
static void increment(ErrorSet &scoreboard, Collection &list);
Expand Down

0 comments on commit 267ef9a

Please sign in to comment.