Coverity
authorcvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 30 Nov 2011 22:33:26 +0000 (22:33 +0000)
committercvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 30 Nov 2011 22:33:26 +0000 (22:33 +0000)
VZERO/AliVZEROLogicalSignal.cxx

index 60dc489..2008792 100644 (file)
@@ -81,6 +81,7 @@ AliVZEROLogicalSignal& AliVZEROLogicalSignal::operator =
 (const AliVZEROLogicalSignal& signal)\r
 {\r
        // Operator =\r
+        if(&signal == this) return *this;\r
        fStart = signal.fStart;\r
        fStop  = signal.fStop;\r
        return *this;\r