Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
atlas
athena
Merge requests
!76678
xAODMenuWriterMT: fix cppcheck defects
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
xAODMenuWriterMT: fix cppcheck defects
fwinkl/athena:fwinkl_20241213T120430
into
main
Overview
4
Commits
1
Pipelines
1
Changes
2
Merged
Frank Winklmeier
requested to merge
fwinkl/athena:fwinkl_20241213T120430
into
main
3 months ago
Overview
4
Commits
1
Pipelines
1
Changes
2
Expand
Uninitialized variables and suppress false positives.
0
0
Merge request reports
Compare
main
main (base)
and
latest version
latest version
eae3b91e
1 commit,
3 months ago
2 files
+
11
−
8
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
Trigger/TrigConfiguration/TrigConfxAOD/src/xAODMenuWriterMT.cxx
+
4
−
1
Options
/*
Copyright (C) 2002-202
3
CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-202
4
CERN for the benefit of the ATLAS collaboration
*/
// Gaudi/Athena include(s):
@@ -44,6 +44,7 @@ namespace TrigConf
StatusCode
xAODMenuWriterMT
::
initialize
()
{
// cppcheck-suppress-begin danglingLifetime; cached pointers owned by store
// Greet the user:
ATH_MSG_INFO
(
"Initialising"
);
@@ -120,6 +121,8 @@ namespace TrigConf
ATH_CHECK
(
m_metaStore
->
record
(
std
::
move
(
aux_bg
),
m_metaNameJSON_bg
+
"Aux."
)
);
ATH_CHECK
(
m_metaStore
->
record
(
std
::
move
(
bg
),
m_metaNameJSON_bg
)
);
// cppcheck-suppress-end danglingLifetime
// Return gracefully:
return
StatusCode
::
SUCCESS
;
}
Loading