Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue 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
Michael Donald Hank
athena
Commits
e78851eb
Commit
e78851eb
authored
4 months ago
by
Frank Winklmeier
Browse files
Options
Downloads
Patches
Plain Diff
TBCondRunParTool: fix cppcheck uninitialized variable defects
parent
1b8e4bf9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
TestBeam/TBConditions/TBCondRunPar/TBCondRunPar/TBCondRunParTool.h
+9
-9
9 additions, 9 deletions
...TBConditions/TBCondRunPar/TBCondRunPar/TBCondRunParTool.h
TestBeam/TBConditions/TBCondRunPar/src/TBCondRunParTool.cxx
+2
-3
2 additions, 3 deletions
TestBeam/TBConditions/TBCondRunPar/src/TBCondRunParTool.cxx
with
11 additions
and
12 deletions
TestBeam/TBConditions/TBCondRunPar/TBCondRunPar/TBCondRunParTool.h
+
9
−
9
View file @
e78851eb
/*
Copyright (C) 2002-202
2
CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-202
4
CERN for the benefit of the ATLAS collaboration
*/
#ifndef TBCONDRUNPAR_TBCONDRUNPARTOOL_H
...
...
@@ -58,16 +58,16 @@ class TBCondRunParTool: public AthAlgTool {
bool
extractCool
(
const
int
run
);
bool
extractCoolTest
(
const
std
::
string
&
folder
,
int
run
)
const
;
int
m_crun
;
int
m_cevent
;
int
m_crun
{
-
1
}
;
int
m_cevent
{
-
1
}
;
std
::
string
m_runpfolder
;
// cached data
int
m_status
;
int
m_run_number
;
int
m_trigger_type
;
int
m_det_mask
;
int
m_beam_type
;
int
m_beam_energy
;
int
m_status
{
-
1
}
;
int
m_run_number
{
-
1
}
;
int
m_trigger_type
{
-
1
}
;
int
m_det_mask
{
-
1
}
;
int
m_beam_type
{
-
1
}
;
int
m_beam_energy
{
-
1
}
;
std
::
string
m_file_tag
;
std
::
string
m_time_SOR
;
};
...
...
This diff is collapsed.
Click to expand it.
TestBeam/TBConditions/TBCondRunPar/src/TBCondRunParTool.cxx
+
2
−
3
View file @
e78851eb
/*
Copyright (C) 2002-202
2
CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-202
4
CERN for the benefit of the ATLAS collaboration
*/
// TBCondRunParTool.cxx
...
...
@@ -16,8 +16,7 @@ static const InterfaceID
TBCondRunParTool
::
TBCondRunParTool
(
const
std
::
string
&
type
,
const
std
::
string
&
name
,
const
IInterface
*
parent
)
:
AthAlgTool
(
type
,
name
,
parent
),
m_crun
(
-
1
),
m_cevent
(
-
1
),
m_runpfolder
(
""
)
:
AthAlgTool
(
type
,
name
,
parent
)
{
declareInterface
<
TBCondRunParTool
>
(
this
);
declareProperty
(
"RunParamFolder"
,
m_runpfolder
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment