Skip to content

Commit 205248d

Browse files
authored
Cosmetic fix for FT3 GeometryTGeo to pass codechecker (#15885)
1 parent 60e8cae commit 205248d

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎Detectors/Upgrades/ALICE3/TRKFT3/FT3/base/src/GeometryTGeo.cxx‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,9 @@ void GeometryTGeo::Build(int loadTrans)
112112
LOG(fatal) << "Could not find layer node " << Form("%s_1", composeSymNameLayer(iDir, iDisc));
113113
}
114114
auto layerVol = layerNode->GetVolume();
115-
if (layerVol == nullptr)
115+
if (layerVol == nullptr) {
116116
LOG(fatal) << "Could not find layer volume " << Form("%s_1", composeSymNameLayer(iDir, iDisc));
117+
}
117118
TObjArray* nodes = layerVol->GetNodes();
118119
int nNodes = nodes->GetEntriesFast();
119120
int nStaves = 0;
@@ -417,4 +418,4 @@ void GeometryTGeo::Print(Option_t*) const
417418
}
418419

419420
} // namespace ft3
420-
} // namespace o2
421+
} // namespace o2

0 commit comments

Comments
 (0)