Fixes for coverity checks.
[u/mrichter/AliRoot.git] / PWG2 / FORWARD / analysis2 / AliBasedNdetaTask.cxx
index c543f4b..ac94b2c 100644 (file)
@@ -1229,6 +1229,7 @@ AliBasedNdetaTask::CentralityBin::operator=(const CentralityBin& o)
   // Return:
   //    Reference to this 
   //
+  if (&o == this) return *this; 
   SetName(o.GetName());
   SetTitle(o.GetTitle());
   fSums      = o.fSums;