Skip to content

Commit 0083d29

Browse files
committed
Fix unused variables, parameters, values
Fixes errors from the following Clang-Tidy categories: - `clang-analyzer-deadcode.DeadStores` - `clang-diagnostic-unused-parameter` - `clang-diagnostic-unused-variable` Most errors are fixed temporarily by commenting out the unused bits and by adding a `FIXME: unused` comment. The final fix is to either remove the unused bits or to fix the bugs which has to be done by someone who knows the intended behaviour.
1 parent d561ab2 commit 0083d29

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎DPG/Tasks/AOTTrack/qaEfficiency.cxx‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1802,10 +1802,10 @@ struct QaEfficiency {
18021802
}
18031803
float centrality = -1.;
18041804
float occupancy = -1.;
1805-
if (doOccupancy) {
1806-
centrality = getCentralityColl(groupedCollisions);
1807-
occupancy = getOccupancyColl(groupedCollisions);
1808-
}
1805+
// if (doOccupancy) {
1806+
// centrality = getCentralityColl(groupedCollisions); // FIXME: unused
1807+
// occupancy = getOccupancyColl(groupedCollisions); // FIXME: unused
1808+
// }
18091809
histos.fill(HIST("MC/generatedCollisions"), 2);
18101810
if (skipEventsWithoutTPCTracks) {
18111811
int nTPCTracks = 0;

0 commit comments

Comments
 (0)