]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TPC/AliTPCclusterMI.cxx
Coverity fixes for :
[u/mrichter/AliRoot.git] / TPC / AliTPCclusterMI.cxx
index 13f2d2b0e5238840cefe07cee738a5e03093aa12..17f0438c86c795e29bcca9c8f0c4c0b9f3135c9b 100644 (file)
@@ -76,6 +76,7 @@ AliTPCclusterMI & AliTPCclusterMI::operator = (const AliTPCclusterMI & cluster)
   // assignment operator
   // 
   //  AliInfo("Asignment operator\n");
+  if (this == &cluster) return (*this);
 
   (AliCluster&)(*this) = (AliCluster&)cluster;
   fQ    = cluster.fQ;