Skip to content

Commit

Permalink
These are formatting changes to fix gcc 6.0 misleading-indent warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
gartung committed Jun 30, 2016
1 parent 4ba3315 commit b60adcd
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
15 changes: 10 additions & 5 deletions DQMServices/Core/src/DQMNet.cc
Original file line number Diff line number Diff line change
Expand Up @@ -205,11 +205,16 @@ DQMNet::unpackQualityData(QReports &qr, uint32_t &flags, const char *from)
while (*qdata)
{
++nqv;
while (*qdata) ++qdata; ++qdata;
while (*qdata) ++qdata; ++qdata;
while (*qdata) ++qdata; ++qdata;
while (*qdata) ++qdata; ++qdata;
while (*qdata) ++qdata; ++qdata;
while (*qdata) ++qdata;
++qdata;
while (*qdata) ++qdata;
++qdata;
while (*qdata) ++qdata;
++qdata;
while (*qdata) ++qdata;
++qdata;
while (*qdata) ++qdata;
++qdata;
}

// Now extract the qreports.
Expand Down
6 changes: 3 additions & 3 deletions DQMServices/Core/src/QTest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -857,7 +857,7 @@ double NoisyChannel::getAverage(int bin, const TH1 *h) const
bin_low = ncx + bin_low;
while (bin_hi > ncx) // shift bin by -ncx
bin_hi = bin_hi - ncx;
sum += h->GetBinContent(bin_low) + h->GetBinContent(bin_hi);
sum += h->GetBinContent(bin_low) + h->GetBinContent(bin_hi);
}
/// average is sum over the # of bins used
return sum/(numNeighbors_ * 2);
Expand Down Expand Up @@ -1216,11 +1216,11 @@ float MeanWithinExpected::runTest(const MonitorElement *me )
return 0;
}
}
else
else {
if (verbose_>0)
std::cout << "QTest:MeanWithinExpected"
<< " Error, neither Range, nor Sigma, nor RMS, exiting\n";
return -1;
return -1; }
}

void MeanWithinExpected::useRange(double xmin, double xmax)
Expand Down

0 comments on commit b60adcd

Please sign in to comment.