coverity warning fix
authorsgorbuno <sgorbuno@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 16 Jul 2013 19:43:52 +0000 (19:43 +0000)
committersgorbuno <sgorbuno@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 16 Jul 2013 19:43:52 +0000 (19:43 +0000)
HLT/TPCLib/comp/AliHLTTPCDataCompressionDescriptor.h

index a7e7a36..8d9dc94 100644 (file)
@@ -20,6 +20,7 @@ class AliHLTTPCDataCompressionDescriptor
   {}
 
   AliHLTTPCDataCompressionDescriptor& operator=(const AliHLTTPCDataCompressionDescriptor& other){ 
+    if( &other == this ) return *this;
     fVersion = other.fVersion;
     fMergedClustersFlag = other.fMergedClustersFlag;
     return *this;