Skip to content

Suppress a maybe unitialised variable warning in StandaloneMuonRec

Christopher Rob Jones requested to merge cherry-pick-bcfd4594 into master


In file included from ../Tr/TrackTools/src/StandaloneMuonRec.h:16:0,
                 from ../Tr/TrackTools/src/StandaloneMuonRec.cpp:15:
../Tr/TrackTools/src/StandaloneMuonStationRec.h: In member function 'virtual StatusCode StandaloneMuonRec::initialize()':
../Tr/TrackTools/src/StandaloneMuonStationRec.h:19:7: warning: '<anonymous>.StandaloneMuonStationRec::m_z' may be used uninitialized in this function [-Wmaybe-uninitialized]
 class StandaloneMuonStationRec {

I know this code is likely to be removed/changed sometime, but finally got sick of seeing this when building Rec...

Merge request reports