Skip to content
Snippets Groups Projects
Commit a6b0683f authored by Matevz Tadel's avatar Matevz Tadel
Browse files

Revert revs 34948 34983 34984 -- unnecessary initializations of local...

Revert revs 34948 34983 34984 -- unnecessary initializations of local variables passed by reference as output parameter to THLimitsFinder::Optimize().


git-svn-id: http://root.cern.ch/svn/root/trunk@35013 27541ba8-7e3a-0410-8455-c3a389f83636
parent 083b95dd
No related branches found
No related tags found
No related merge requests found
...@@ -176,7 +176,7 @@ void TEveProjectionAxesGL::SplitIntervalByPos(Float_t p1, Float_t p2, Int_t ax) ...@@ -176,7 +176,7 @@ void TEveProjectionAxesGL::SplitIntervalByPos(Float_t p1, Float_t p2, Int_t ax)
// Limits. // Limits.
Int_t n1a = TMath::FloorNint(fM->GetNdivisions() / 100); Int_t n1a = TMath::FloorNint(fM->GetNdivisions() / 100);
Int_t n2a = fM->GetNdivisions() - n1a * 100; Int_t n2a = fM->GetNdivisions() - n1a * 100;
Int_t bn1=0, bn2; Int_t bn1, bn2;
Double_t bw1, bw2; // bin with first second order Double_t bw1, bw2; // bin with first second order
Double_t bl1, bh1, bl2, bh2; // bin low, high first second order Double_t bl1, bh1, bl2, bh2; // bin low, high first second order
THLimitsFinder::Optimize(p1, p2, n1a, bl1, bh1, bn1, bw1); THLimitsFinder::Optimize(p1, p2, n1a, bl1, bh1, bn1, bw1);
......
...@@ -370,7 +370,7 @@ void TGLAxis::TicksPositionsOpt() ...@@ -370,7 +370,7 @@ void TGLAxis::TicksPositionsOpt()
{ {
// Compute ticks positions. Linear and optimized. // Compute ticks positions. Linear and optimized.
Int_t i, j, k, nDivOpt=0; Int_t i, j, k, nDivOpt;
Double_t step1, step2, wmin2, wmax2; Double_t step1, step2, wmin2, wmax2;
Double_t wmin = fWmin; Double_t wmin = fWmin;
Double_t wmax = fWmax; Double_t wmax = fWmax;
......
...@@ -262,7 +262,7 @@ void TGLCameraOverlay::RenderAxis(TGLRnrCtx& rnrCtx, Bool_t grid) ...@@ -262,7 +262,7 @@ void TGLCameraOverlay::RenderAxis(TGLRnrCtx& rnrCtx, Bool_t grid)
glLineStipple(1, stipple); glLineStipple(1, stipple);
glBegin(GL_LINES); glBegin(GL_LINES);
Int_t ondiv = 0; Int_t ondiv;
Double_t omin, omax, bw1; Double_t omin, omax, bw1;
Double_t val =0; Double_t val =0;
THLimitsFinder::Optimize(labs[0].second, labs[1].second, secSteps, omin, omax, ondiv, bw1); THLimitsFinder::Optimize(labs[0].second, labs[1].second, secSteps, omin, omax, ondiv, bw1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment