Changeset 18957 for trunk/Mars/mtools


Ignore:
Timestamp:
03/25/18 16:32:05 (7 years ago)
Author:
tbretz
Message:
Improved compiler warnings.
Location:
trunk/Mars/mtools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mtools/MRolke.cc

    r8105 r18957  
    171171   Double_t med = 0;
    172172   Double_t maxiter=1000, acc = 0.00001;
    173    Int_t i;
    174173   Int_t bp = 0;
    175174
     
    314313   }
    315314
    316    for(i = 0; i < maxiter; i++) {
     315   for(Int_t i = 0; i < maxiter; i++) {
    317316      l = (target-fhigh)/(flow-fhigh);
    318317      if (l < 0.2) l = 0.2;
     
    388387      mu = (x-y/tau)/zm;
    389388      b  = y/tau;
    390       Double_t e = zm;
    391       f = LikeMod1(mu,b,e,x,y,z,tau,m);
     389      Double_t ee = zm;
     390      f = LikeMod1(mu,b,ee,x,y,z,tau,m);
    392391   }
    393392
  • trunk/Mars/mtools/MagicReversi.cc

    r9369 r18957  
    245245        // Adopt absolute sized of markers to relative range
    246246        //
    247         Float_t r = (*fGeomCam)[i].GetT()*gPad->XtoAbsPixel(1)/325;
    248         GetFlag(i)->SetMarkerSize(20.0*r/fRange);
     247        const Float_t rr = (*fGeomCam)[i].GetT()*gPad->XtoAbsPixel(1)/325;
     248        GetFlag(i)->SetMarkerSize(20.0*rr/fRange);
    249249
    250250        if (pix.TestBit(kHasFlag))
  • trunk/Mars/mtools/MineSweeper.cc

    r9369 r18957  
    223223        // Adopt absolute sized of markers to relative range
    224224        //
    225         Float_t r = (*fGeomCam)[i].GetT()*gPad->XtoAbsPixel(1)/325;
    226         GetFlag(i)->SetMarkerSize(20.0*r/fRange);
     225        const Float_t rr = (*fGeomCam)[i].GetT()*gPad->XtoAbsPixel(1)/325;
     226        GetFlag(i)->SetMarkerSize(20.0*rr/fRange);
    227227
    228228        if (pix.TestBit(kHasFlag))
Note: See TracChangeset for help on using the changeset viewer.