{"action":"created","issue":{"url":"https://api.github.com/repos/cms-sw/cmssw/issues/15005","repository_url":"https://api.github.com/repos/cms-sw/cmssw","labels_url":"https://api.github.com/repos/cms-sw/cmssw/issues/15005/labels{/name}","comments_url":"https://api.github.com/repos/cms-sw/cmssw/issues/15005/comments","events_url":"https://api.github.com/repos/cms-sw/cmssw/issues/15005/events","html_url":"https://github.com/cms-sw/cmssw/pull/15005","id":162555925,"number":15005,"title":"SimG4CMS/Calo : gcc 6.0 misleading-indentation warning flags potential bug; with formatting fix","user":{"login":"gartung","id":4292184,"avatar_url":"https://avatars.githubusercontent.com/u/4292184?v=3","gravatar_id":"","url":"https://api.github.com/users/gartung","html_url":"https://github.com/gartung","followers_url":"https://api.github.com/users/gartung/followers","following_url":"https://api.github.com/users/gartung/following{/other_user}","gists_url":"https://api.github.com/users/gartung/gists{/gist_id}","starred_url":"https://api.github.com/users/gartung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gartung/subscriptions","organizations_url":"https://api.github.com/users/gartung/orgs","repos_url":"https://api.github.com/users/gartung/repos","events_url":"https://api.github.com/users/gartung/events{/privacy}","received_events_url":"https://api.github.com/users/gartung/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cms-sw/cmssw/labels/comparison-available","name":"comparison-available","color":"009800"},{"url":"https://api.github.com/repos/cms-sw/cmssw/labels/orp-pending","name":"orp-pending","color":"fbca04"},{"url":"https://api.github.com/repos/cms-sw/cmssw/labels/pending-signatures","name":"pending-signatures","color":"eb6420"},{"url":"https://api.github.com/repos/cms-sw/cmssw/labels/simulation-pending","name":"simulation-pending","color":"fbca04"},{"url":"https://api.github.com/repos/cms-sw/cmssw/labels/tests-approved","name":"tests-approved","color":"009800"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/cms-sw/cmssw/milestones/59","html_url":"https://github.com/cms-sw/cmssw/milestones/Next%20CMSSW_8_1_X","labels_url":"https://api.github.com/repos/cms-sw/cmssw/milestones/59/labels","id":1590252,"number":59,"title":"Next CMSSW_8_1_X","description":null,"creator":{"login":"smuzaffar","id":4115138,"avatar_url":"https://avatars.githubusercontent.com/u/4115138?v=3","gravatar_id":"","url":"https://api.github.com/users/smuzaffar","html_url":"https://github.com/smuzaffar","followers_url":"https://api.github.com/users/smuzaffar/followers","following_url":"https://api.github.com/users/smuzaffar/following{/other_user}","gists_url":"https://api.github.com/users/smuzaffar/gists{/gist_id}","starred_url":"https://api.github.com/users/smuzaffar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smuzaffar/subscriptions","organizations_url":"https://api.github.com/users/smuzaffar/orgs","repos_url":"https://api.github.com/users/smuzaffar/repos","events_url":"https://api.github.com/users/smuzaffar/events{/privacy}","received_events_url":"https://api.github.com/users/smuzaffar/received_events","type":"User","site_admin":false},"open_issues":80,"closed_issues":893,"state":"open","created_at":"2016-02-18T09:12:12Z","updated_at":"2016-06-28T18:32:15Z","due_on":null,"closed_at":null},"comments":9,"created_at":"2016-06-27T21:46:25Z","updated_at":"2016-06-28T18:36:55Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cms-sw/cmssw/pulls/15005","html_url":"https://github.com/cms-sw/cmssw/pull/15005","diff_url":"https://github.com/cms-sw/cmssw/pull/15005.diff","patch_url":"https://github.com/cms-sw/cmssw/pull/15005.patch"},"body":"  /build/cmsbuild/jenkins-workarea/workspace/build-any-ib/w/tmp/BUILDROOT/8258e37281729e179b5af9c3b033d930/opt/cmssw/slc6_amd64_gcc600/cms/cmssw/CMSSW_8_1_X_2016-06-26-2300/src/SimG4CMS/Calo/src/HFShowerLibrary.cc:122:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]\r\n    if (fibre)  delete   fibre;  fibre  = 0;\r\n   ^~\r\n/build/cmsbuild/jenkins-workarea/workspace/build-any-ib/w/tmp/BUILDROOT/8258e37281729e179b5af9c3b033d930/opt/cmssw/slc6_amd64_gcc600/cms/cmssw/CMSSW_8_1_X_2016-06-26-2300/src/SimG4CMS/Calo/src/HFShowerLibrary.cc:122:32: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'\r\n   if (fibre)  delete   fibre;  fibre  = 0;\r\n                                ^~~~~\r\n\r\n  /build/cmsbuild/jenkins-workarea/workspace/build-any-ib/w/tmp/BUILDROOT/8258e37281729e179b5af9c3b033d930/opt/cmssw/slc6_amd64_gcc600/cms/cmssw/CMSSW_8_1_X_2016-06-26-2300/src/SimG4CMS/Calo/test/HOSimHitStudy.cc:505:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]\r\n    if (eHO17 > 0) nHO++; if (eHO17T > 0) nHOT++;\r\n   ^~\r\n/build/cmsbuild/jenkins-workarea/workspace/build-any-ib/w/tmp/BUILDROOT/8258e37281729e179b5af9c3b033d930/opt/cmssw/slc6_amd64_gcc600/cms/cmssw/CMSSW_8_1_X_2016-06-26-2300/src/SimG4CMS/Calo/test/HOSimHitStudy.cc:505:25: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'\r\n   if (eHO17 > 0) nHO++; if (eHO17T > 0) nHOT++;\r\n                         ^~\r\n  /build/cmsbuild/jenkins-workarea/workspace/build-any-ib/w/tmp/BUILDROOT/8258e37281729e179b5af9c3b033d930/opt/cmssw/slc6_amd64_gcc600/cms/cmssw/CMSSW_8_1_X_2016-06-26-2300/src/SimG4CMS/Calo/test/HOSimHitStudy.cc:506:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]\r\n    if (eHO18 > 0) nHO++; if (eHO18T > 0) nHOT++;\r\n   ^~\r\n/build/cmsbuild/jenkins-workarea/workspace/build-any-ib/w/tmp/BUILDROOT/8258e37281729e179b5af9c3b033d930/opt/cmssw/slc6_amd64_gcc600/cms/cmssw/CMSSW_8_1_X_2016-06-26-2300/src/SimG4CMS/Calo/test/HOSimHitStudy.cc:506:25: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'\r\n   if (eHO18 > 0) nHO++; if (eHO18T > 0) nHOT++;\r\n                         ^~\r\n  /build/cmsbuild/jenkins-workarea/workspace/build-any-ib/w/tmp/BUILDROOT/8258e37281729e179b5af9c3b033d930/opt/cmssw/slc6_amd64_gcc600/cms/cmssw/CMSSW_8_1_X_2016-06-26-2300/src/SimG4CMS/Calo/test/HOSimHitStudy.cc:532:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]\r\n      if (eHOE17[ieta] > 0) nHOE++; if (eHOE17T[ieta] > 0) nHOET++;\r\n     ^~\r\n/build/cmsbuild/jenkins-workarea/workspace/build-any-ib/w/tmp/BUILDROOT/8258e37281729e179b5af9c3b033d930/opt/cmssw/slc6_amd64_gcc600/cms/cmssw/CMSSW_8_1_X_2016-06-26-2300/src/SimG4CMS/Calo/test/HOSimHitStudy.cc:532:35: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'\r\n     if (eHOE17[ieta] > 0) nHOE++; if (eHOE17T[ieta] > 0) nHOET++;\r\n                                   ^~\r\n  /build/cmsbuild/jenkins-workarea/workspace/build-any-ib/w/tmp/BUILDROOT/8258e37281729e179b5af9c3b033d930/opt/cmssw/slc6_amd64_gcc600/cms/cmssw/CMSSW_8_1_X_2016-06-26-2300/src/SimG4CMS/Calo/test/HOSimHitStudy.cc:533:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]\r\n      if (eHOE18[ieta] > 0) nHOE++; if (eHOE18T[ieta] > 0) nHOET++;\r\n     ^~\r\n/build/cmsbuild/jenkins-workarea/workspace/build-any-ib/w/tmp/BUILDROOT/8258e37281729e179b5af9c3b033d930/opt/cmssw/slc6_amd64_gcc600/cms/cmssw/CMSSW_8_1_X_2016-06-26-2300/src/SimG4CMS/Calo/test/HOSimHitStudy.cc:533:35: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'\r\n     if (eHOE18[ieta] > 0) nHOE++; if (eHOE18T[ieta] > 0) nHOET++;\r\n                                   ^~"},"comment":{"url":"https://api.github.com/repos/cms-sw/cmssw/issues/comments/229141862","html_url":"https://github.com/cms-sw/cmssw/pull/15005#issuecomment-229141862","issue_url":"https://api.github.com/repos/cms-sw/cmssw/issues/15005","id":229141862,"user":{"login":"civanch","id":4955118,"avatar_url":"https://avatars.githubusercontent.com/u/4955118?v=3","gravatar_id":"","url":"https://api.github.com/users/civanch","html_url":"https://github.com/civanch","followers_url":"https://api.github.com/users/civanch/followers","following_url":"https://api.github.com/users/civanch/following{/other_user}","gists_url":"https://api.github.com/users/civanch/gists{/gist_id}","starred_url":"https://api.github.com/users/civanch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/civanch/subscriptions","organizations_url":"https://api.github.com/users/civanch/orgs","repos_url":"https://api.github.com/users/civanch/repos","events_url":"https://api.github.com/users/civanch/events{/privacy}","received_events_url":"https://api.github.com/users/civanch/received_events","type":"User","site_admin":false},"created_at":"2016-06-28T18:36:55Z","updated_at":"2016-06-28T18:36:55Z","body":"+1"}}
{"actor":{"display_login":"civanch"}}