Skip to content

Commit

Permalink
Merge pull request #27840 from mrodozov/fixgcc9wanrs-Calibration
Browse files Browse the repository at this point in the history
Fix gcc9 warnings in Calibration
  • Loading branch information
cmsbuild committed Aug 26, 2019
2 parents b71a844 + aca1c24 commit 382151e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CalibCalorimetry/HcalAlgos/src/PadeTableODE.cc
Expand Up @@ -34,8 +34,10 @@ void PadeTableODE::calculate(const double tau,
switch (row_) {
case 2U:
derivative[firstNode] += 0.5 * tau * tau * d2Id2t;
[[fallthrough]];
case 1U:
derivative[firstNode] -= tau * dIdt;
[[fallthrough]];
case 0U:
derivative[firstNode] += currentIn;
break;
Expand Down
2 changes: 1 addition & 1 deletion CalibFormats/SiStripObjects/src/SiStripQuality.cc
Expand Up @@ -31,7 +31,7 @@ SiStripQuality::SiStripQuality(edm::FileInPath &file)
reader = new SiStripDetInfoFileReader(FileInPath_.fullPath());
}

SiStripQuality::SiStripQuality(const SiStripQuality &other) {
SiStripQuality::SiStripQuality(const SiStripQuality &other) : SiStripBadStrip::SiStripBadStrip(other) {
FileInPath_ = other.FileInPath_;
reader = new SiStripDetInfoFileReader(*(other.reader));
toCleanUp = other.toCleanUp;
Expand Down

0 comments on commit 382151e

Please sign in to comment.