From 83e3817cbf96b9c93e09644658dfe41b02a6b414 Mon Sep 17 00:00:00 2001 From: Ivan Razumov Date: Thu, 6 Jun 2024 10:16:42 +0200 Subject: [PATCH] Fix maybe-uninitialized warning in SeedingTrackFeatures --- RecoBTag/FeatureTools/src/SeedingTracksConverter.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RecoBTag/FeatureTools/src/SeedingTracksConverter.cc b/RecoBTag/FeatureTools/src/SeedingTracksConverter.cc index cfc21ff521334..e4b6a2e46b2ff 100644 --- a/RecoBTag/FeatureTools/src/SeedingTracksConverter.cc +++ b/RecoBTag/FeatureTools/src/SeedingTracksConverter.cc @@ -213,7 +213,7 @@ namespace btagbtvdeep { if (sortedSeedsMap.size() < 10) { for (unsigned int i = sortedSeedsMap.size(); i < 10; i++) { std::vector tp_features_zeropad(20); - btagbtvdeep::SeedingTrackFeatures seed_features_zeropad; + btagbtvdeep::SeedingTrackFeatures seed_features_zeropad{}; seed_features_zeropad.nearTracks = tp_features_zeropad; seedingT_features_vector.push_back(seed_features_zeropad); }