Skip to content

Commit

Permalink
Merge pull request #15094 from gartung/DQM-HcalMonitor-client-fix-ind…
Browse files Browse the repository at this point in the history
…ent-not-guard-warn

DQM/HcalMonitorClient : Formatting fix for gcc 6.0 misleading-indentation warning.
  • Loading branch information
davidlange6 committed Jul 1, 2016
2 parents 26005b6 + 33cde0b commit 24c5d09
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions DQM/HcalMonitorClient/src/HcalDetDiagLaserClient.cc
Expand Up @@ -908,8 +908,12 @@ void HcalDetDiagLaserClient::htmlOutput(DQMStore::IBooker &ib, DQMStore::IGetter
htmlFile << state[ind2] << HEP[1] <<"</td>" << endl;
htmlFile << "</tr><tr>" << endl;
htmlFile << "<td class=\"s1\" align=\"center\">HE-</td>" << endl;
if(HEM[0]==0) ind1=2; if(HEM[0]>0 && HEM[0]<=12) ind1=1; if(HEM[0]>12) ind1=0;
if(HEM[1]==0) ind2=2; if(HEM[1]>0 && HEM[1]<=12) ind2=1; if(HEM[1]>12) ind2=0;
if(HEM[0]==0) ind1=2;
if(HEM[0]>0 && HEM[0]<=12) ind1=1;
if(HEM[0]>12) ind1=0;
if(HEM[1]==0) ind2=2;
if(HEM[1]>0 && HEM[1]<=12) ind2=1;
if(HEM[1]>12) ind2=0;
if(!HEpresent_) ind1=ind2=3;
if(ind1==0 || ind2==0) status|=2; else if(ind1==1 || ind2==1) status|=1;
htmlFile << state[ind1] << HEM[0] <<"</td>" << endl;
Expand Down

0 comments on commit 24c5d09

Please sign in to comment.