Fixes for coverity checks.
[u/mrichter/AliRoot.git] / FMD / AliFMDDetector.cxx
index b9d636f..78cc6ff 100644 (file)
@@ -108,6 +108,7 @@ AliFMDDetector&
 AliFMDDetector::operator=(const AliFMDDetector& other)
 {
   // Assignment operator
+  if (&other == this) return *this; 
   SetName(other.GetName());
   SetTitle(other.GetTitle());
   fId              = other.fId;