Fixes for coverity checks.
[u/mrichter/AliRoot.git] / FMD / AliFMDBaseDigitizer.cxx
index a689e00..7dcf7e4 100644 (file)
@@ -285,6 +285,7 @@ AliFMDBaseDigitizer::operator=(const AliFMDBaseDigitizer& o)
   // Return:
   //    Reference to this object 
   //
+  if (&o == this) return *this; 
   AliDigitizer::operator=(o);
   fRunLoader      = o.fRunLoader;
   fEdep           = o.fEdep;