From a17764f0d5880f2abc6a8350801885207be0d672 Mon Sep 17 00:00:00 2001 From: agheata <Andrei.Gheata@cern.ch> Date: Tue, 18 Mar 2014 08:32:43 +0100 Subject: [PATCH] Fixed warnings --- geom/geom/src/TGeoShapeAssembly.cxx | 2 +- geom/geom/src/TGeoVolume.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/geom/geom/src/TGeoShapeAssembly.cxx b/geom/geom/src/TGeoShapeAssembly.cxx index c2eeb2b87b7..d46be522682 100644 --- a/geom/geom/src/TGeoShapeAssembly.cxx +++ b/geom/geom/src/TGeoShapeAssembly.cxx @@ -241,6 +241,7 @@ Double_t TGeoShapeAssembly::DistFromOutside(const Double_t *point, const Double_ indent++; TString sindent = ""; for (Int_t k=0; k<indent; k++) sindent += " "; + Int_t idebug = TGeoManager::GetVerboseLevel(); #endif if (!fBBoxOK) ((TGeoShapeAssembly*)this)->ComputeBBox(); if (iact<3 && safe) { @@ -255,7 +256,6 @@ Double_t TGeoShapeAssembly::DistFromOutside(const Double_t *point, const Double_ #endif } // find distance to assembly - Int_t idebug = TGeoManager::GetVerboseLevel(); Double_t snext = 0.0; Double_t dist; Double_t stepmax = step; diff --git a/geom/geom/src/TGeoVolume.cxx b/geom/geom/src/TGeoVolume.cxx index 45743cb6681..e4526db4259 100644 --- a/geom/geom/src/TGeoVolume.cxx +++ b/geom/geom/src/TGeoVolume.cxx @@ -1161,7 +1161,7 @@ Bool_t TGeoVolume::OptimizeVoxels() } //_____________________________________________________________________________ -void TGeoVolume::Print(Option_t *option) const +void TGeoVolume::Print(Option_t *) const { // Print volume info printf("== Volume: %s type %s positioned %d times\n", GetName(), ClassName(), fRefCount); -- GitLab