Skip to content

Commit

Permalink
Remove unused pointer.
Browse files Browse the repository at this point in the history
  • Loading branch information
thomreis committed Aug 26, 2021
1 parent 0b98ed0 commit 3cfcac3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions EventFilter/EcalRawToDigi/interface/DCCEESRPBlock.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ class DCCEESRPBlock : public DCCSRPBlock {
bool checkSrpIdAndNumbSRFlags() override;

std::unique_ptr<EESrFlagCollection>* eeSrFlagsDigis_;

EcalScDetId* pSCDetId_;
};

#endif
2 changes: 1 addition & 1 deletion EventFilter/EcalRawToDigi/src/DCCEESRPBlock.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ void DCCEESRPBlock::addSRFlagToCollection() {
data_++;
const uint16_t *my16Bitp_ = reinterpret_cast<const uint16_t *>(data_);

for (unsigned int n = 0; n < expNumbSrFlags_; n++, pSCDetId_++) {
for (unsigned int n = 0; n < expNumbSrFlags_; ++n) {
if (n != 0 && n % 4 == 0)
my16Bitp_++;

Expand Down

0 comments on commit 3cfcac3

Please sign in to comment.