fix coverity
authorabercuci <abercuci@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 17 Nov 2011 12:05:12 +0000 (12:05 +0000)
committerabercuci <abercuci@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 17 Nov 2011 12:05:12 +0000 (12:05 +0000)
STAT/TKDNodeInfo.cxx

index 1a1fa74..cb0b866 100644 (file)
@@ -87,6 +87,7 @@ TKDNodeInfo& TKDNodeInfo::operator=(const TKDNodeInfo & ref)
 {
 //     Info("operator==()", "...");
   
+  if(this == &ref) return *this;
   Int_t ndim = fNDim/3;
   if(fNDim != ref.fNDim){
     fNDim = ref.fNDim;