]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PMD/AliPMDv3.cxx
String initialization to avoid valgrind warnings
[u/mrichter/AliRoot.git] / PMD / AliPMDv3.cxx
index 7feae99ffceb7ecd4107e6f7bb68576b2acf01f1..1f0ca266aa193037cfee574b31912c3ff27054e5 100644 (file)
@@ -602,7 +602,7 @@ void AliPMDv3::CreateMaterials()
  
   //   define gas-mixtures 
   
-  char namate[21];
+  char namate[21]="";
   gMC->Gfmate((*fIdmate)[3], namate, a, z, d, radl, absl, buf, nbuf);
   ag[1] = a;
   zg[1] = z;