]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWG2/RESONANCES/AliRsnCutKaonForPhi2010PP.cxx
Fix for coverity
[u/mrichter/AliRoot.git] / PWG2 / RESONANCES / AliRsnCutKaonForPhi2010PP.cxx
index e983a6fb399e9f9704d6890a7236ef5fc3408213..39c5449028690e3874a57a6ee2eca7e1fb1fdd4a 100644 (file)
@@ -71,7 +71,8 @@ AliRsnCutKaonForPhi2010PP& AliRsnCutKaonForPhi2010PP::operator=(const AliRsnCutK
 //
 
    AliRsnCut::operator=(copy);
-   
+   if (this == &copy)
+     return *this;
    fNSigmaTPCLow = copy.fNSigmaTPCLow;
    fNSigmaTPCHigh = copy.fNSigmaTPCHigh;
    fLimitTPC = copy.fLimitTPC;