Commit 39e5d395 authored by Scott Snyder's avatar Scott Snyder Committed by Graeme Stewart
Browse files

Fix compilation warnings. (LArGeoBarrel-00-01-11)

        * Tagging LArGeoBarrel-00-01-11.
	* src/BarrelConstruction.cxx: Fix compilation warnings.
parent d100efdc
......@@ -1332,7 +1332,7 @@ void LArGeo::BarrelConstruction::MakeEnvelope()
#endif
GeoPhysVol* thinPhys;
GeoPhysVol* thinPhys = nullptr;
GeoTrap* thinTrap = new GeoTrap(Dz,0.,0.,h1(instance),tl1,bl1,alpha(instance),
h1(instance),tl1,bl1,alpha(instance));
if (!doDetailedAbsorberStraight) {
......@@ -1580,7 +1580,7 @@ void LArGeo::BarrelConstruction::MakeEnvelope()
for (int instance = 0; instance < Nabsorber; instance++)
{
GeoPhysVol* thinPhys;
GeoPhysVol* thinPhys = nullptr;
if (!doDetailedAbsorberFold) {
GeoTubs* thinTubs = new GeoTubs(Rcmin,Rcmax,ddz0,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment