]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONVDigitStore.cxx
Fix Coverity reports
[u/mrichter/AliRoot.git] / MUON / AliMUONVDigitStore.cxx
index 72f0f9f62ea5b56b04181b1d140652d64db13a22..501d71d2917e5fce9bd1871ffd1dfe05b5e71d42 100644 (file)
@@ -153,9 +153,8 @@ AliMUONVDigitStore::GetSize(Int_t detElemId, Int_t cathode) const
 {
   /// Return the number of digits we have for a given detection element
   TIter next(CreateIterator(detElemId,detElemId,cathode));
-  AliMUONVDigit* digit;
   Int_t n(0);
-  while ( ( digit = static_cast<AliMUONVDigit*>(next()) ) )
+  while ( ( next() ) )
   {
     ++n;
   }