Removing compiler warnings from AliMUONRawStreamTriggerHP.cxx.
authorivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 5 Jun 2009 14:09:48 +0000 (14:09 +0000)
committerivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 5 Jun 2009 14:09:48 +0000 (14:09 +0000)
(Artur)

MUON/AliMUONRawStreamTriggerHP.cxx

index d9698bb..8b52504 100644 (file)
@@ -354,9 +354,9 @@ AliMUONDDLTrigger* AliMUONRawStreamTriggerHP::GetDDLTrigger() const
                                // Since the override ID flag is set, we need to replace the
                                // ID in the structure with the calculated one returned by GetId().
                                AliMUONLocalInfoStruct* strptr = reinterpret_cast<AliMUONLocalInfoStruct*>( localStruct.GetData() );
-                               UInt_t word = strptr->fTriggerBits;
-                               word &= (0xF << 19);
-                               strptr->fTriggerBits = word | (lstruct->GetId() << 19);
+                               UInt_t triggerBits = strptr->fTriggerBits;
+                               triggerBits &= (0xF << 19);
+                               strptr->fTriggerBits = triggerBits | (lstruct->GetId() << 19);
                        }
                        fDDLObject->AddLocStruct(localStruct, iReg);
                        lstruct = lstruct->Next();