Project

General

Profile

Actions

Development #1378

closed

Development #1353: Code cleanup for OCT19

Code cleanup: rich/tracks/CbmRichProjectionProducerAnalytical.cxx

Added by Volker Friese almost 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
09/16/2019
Due date:
09/27/2019
% Done:

100%

Estimated time:
0.50 h

Description

Compiler warning:

/home/uhlig/cbm/release/oct19/rich/tracks/CbmRichProjectionProducerAnalytical.cxx: In member function 'void CbmRichProjectionProducerAnalytical::GetPmtIntersectionPointCyl(const TVector3*, const TVector3*, const TVector3*, TVector3*)':
[CTest: warning matched] /home/uhlig/cbm/release/oct19/rich/tracks/CbmRichProjectionProducerAnalytical.cxx:351:33: warning: 'zZ' may be used uninitialized in this function [-Wmaybe-uninitialized]
     outPoint->SetXYZ(xX, yY, zZ);
                                 ^
[CTest: warning matched] /home/uhlig/cbm/release/oct19/rich/tracks/CbmRichProjectionProducerAnalytical.cxx:351:33: warning: 'yY' may be used uninitialized in this function [-Wmaybe-uninitialized]
[CTest: warning matched] /home/uhlig/cbm/release/oct19/rich/tracks/CbmRichProjectionProducerAnalytical.cxx:351:33: warning: 'xX' may be used uninitialized in this function [-Wmaybe-uninitialized]

Please fix.

Actions #1

Updated by Volker Friese almost 3 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

Fixed.

Actions

Also available in: Atom PDF