From: morsch Date: Fri, 21 Jan 2011 21:11:09 +0000 (+0000) Subject: Coverity correction. X-Git-Url: http://git.uio.no/git/?a=commitdiff_plain;h=24049212e45429ddc67da52db0fa8ef4c5acb346;p=u%2Fmrichter%2FAliRoot.git Coverity correction. --- diff --git a/STRUCT/AliABSO.cxx b/STRUCT/AliABSO.cxx index b5c9cf8c833..f6e86eff665 100644 --- a/STRUCT/AliABSO.cxx +++ b/STRUCT/AliABSO.cxx @@ -51,6 +51,15 @@ AliABSO::AliABSO() // // Default constructor // + for (Int_t i = 0; i < 2; i++) + { + fNLayers[i] = 0; + for (Int_t j = 0; j < 15; j++) + { + fZLayers[i][j] = 0.; + fMLayers[i][j] = 0; + } + } } //_____________________________________________________________________________ @@ -60,9 +69,15 @@ AliABSO::AliABSO(const char *name, const char *title) // // Standard constructor // - //PH SetMarkerColor(7); - //PH SetMarkerStyle(2); - //PH SetMarkerSize(0.4); + for (Int_t i = 0; i < 2; i++) + { + fNLayers[i] = 0; + for (Int_t j = 0; j < 15; j++) + { + fZLayers[i][j] = 0.; + fMLayers[i][j] = 0; + } + } } //_____________________________________________________________________________