]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
added line in copy constructor for coverity's sake
authorrgrosso <rgrosso@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 20 Jan 2011 16:07:04 +0000 (16:07 +0000)
committerrgrosso <rgrosso@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 20 Jan 2011 16:07:04 +0000 (16:07 +0000)
STEER/AliAlignObjParams.cxx

index 80003c846b5f67b0975ebeef54b9a2d6899189e1..5b2f8c4995be963a223a820435e81e9bff0ee369 100644 (file)
@@ -78,6 +78,8 @@ AliAlignObjParams::AliAlignObjParams(const AliAlignObj& theAlignObj) :
   Double_t rot[3];
   if (theAlignObj.GetAngles(rot))
     SetRotation(rot[0],rot[1],rot[2]);
+  else
+    fRotation[0]=fRotation[1]=fRotation[2]=0.;
 }
 
 //_____________________________________________________________________________