Skip to content

Commit

Permalink
Merge pull request cms-sw#28296 from makortel/fixGcc9NavigationSchool…
Browse files Browse the repository at this point in the history
…Analyzer

Fix GCC9 warning in NavigationSchoolAnalyzer
  • Loading branch information
cmsbuild authored Oct 28, 2019
2 parents 87346d9 + ccc3623 commit 5b0a828
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions RecoTracker/TkNavigation/test/NavigationSchoolAnalyzer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ void NavigationSchoolAnalyzer::print(std::ostream& os, const DetLayer* dl) {
break;
case GeomDetEnumerators::RPCEndcap:
side = (unsigned int)((RPCDetId(tag->geographicalId().rawId()).region() / 2. + 1) * 2.);
[[fallthrough]];
case GeomDetEnumerators::RPCBarrel:
LorW = RPCDetId(tag->geographicalId().rawId()).station();
break;
Expand Down

0 comments on commit 5b0a828

Please sign in to comment.