novasoft cppcheck

Last updated Wed Nov 13 04:30:07 CST 2019

SoftRelTools


AirShower

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/AirShower/AirKalmanAna_module.cc:774]: (style) The scope of the variable 'I0xz' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/AirShower/AirKalmanAna_module.cc:838]: (style) The scope of the variable 'I0yz' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/AirShower/AirKalmanAna_module.cc:1514]: (style) The scope of the variable 'deltatheta' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/AirShower/AirKalmanAna_module.cc:1106]: (style) Unused variable: sameslopetracks
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/AirShower/AirKalmanAna_module.cc:1115]: (style) Unused variable: unittracks
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/AirShower/AirKalmanAna_module.cc:1120]: (style) Unused variable: sigmapassedveccol
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/AirShower/AirKalmanAna_module.cc:1121]: (style) Unused variable: sigmapassedtracks
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/AirShower/AirKalmanAna_module.cc:1193]: (style) Unused variable: sigmacol
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/AirShower/AirKalmanAna_module.cc:1333]: (style) Unused variable: sigmacol
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/AirShower/AirKalmanAna_module.cc:1365]: (style) Variable 'trkcollection' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/AirShower/AirKalmanAna_module.cc:1513]: (style) Unused variable: sigmacol
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/AirShower/AirKalmanAna_module.cc:1554]: (style) Variable 'trkcollection' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/AirShower/AirSlicer_module.cc:803]: (style) Variable 'meanHoughRho' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/AirShower/HighEnergyAna_module.cc:123]: (style) Unused variable: y

Alignment

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Alignment/block/AlignMinuit.cc:413]: (style) Variable 'defZ' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Alignment/scripts/cellShifts.C:51] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Alignment/scripts/cellShifts.C:46]: (style) Finding the same code in an 'if' and related 'else' branch is suspicious and might indicate a cut and paste or logic error. Please examine this code carefully to determine if it is correct.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Alignment/scripts/cellShifts.C:412]: (style) Variable 'hh' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Alignment/scripts/cellShifts.C:416]: (style) Variable 'hh' is assigned a value that is never used.

AnalysisSkimmer

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/AnalysisSkimmer/utils/SkimmingUtils.h:155]: (performance) Checking for 'fCellIdToHitPtr' emptiness might be inefficient. Using fCellIdToHitPtr.empty() instead of fCellIdToHitPtr.size() can be faster. fCellIdToHitPtr.size() can take linear time but fCellIdToHitPtr.empty() is guaranteed to take constant time.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/AnalysisSkimmer/utils/SkimmingUtils.h:314]: (performance) Checking for 'fCellIdToHitPtr' emptiness might be inefficient. Using fCellIdToHitPtr.empty() instead of fCellIdToHitPtr.size() can be faster. fCellIdToHitPtr.size() can take linear time but fCellIdToHitPtr.empty() is guaranteed to take constant time.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/AnalysisSkimmer/utils/SkimmingUtils.h:379]: (performance) Checking for 'fCellIdToHitPtr' emptiness might be inefficient. Using fCellIdToHitPtr.empty() instead of fCellIdToHitPtr.size() can be faster. fCellIdToHitPtr.size() can take linear time but fCellIdToHitPtr.empty() is guaranteed to take constant time.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/AnalysisSkimmer/utils/SkimmingUtils.h:443]: (performance) Checking for 'fCellIdToHitPtr' emptiness might be inefficient. Using fCellIdToHitPtr.empty() instead of fCellIdToHitPtr.size() can be faster. fCellIdToHitPtr.size() can take linear time but fCellIdToHitPtr.empty() is guaranteed to take constant time.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/AnalysisSkimmer/module/CosmicBeamComparison_module.cc:1011]: (style) Unused variable: qepid
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/AnalysisSkimmer/parameters/ParametersNue.cxx:527]: (style) The scope of the variable 'fracDiff' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/AnalysisSkimmer/parameters/ParametersNumu.cxx:290]: (style) The scope of the variable 'dibfirst' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/AnalysisSkimmer/parameters/ParametersNumu.cxx:619]: (style) The scope of the variable 'fracDiff' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/AnalysisSkimmer/parameters/ParametersNumu.cxx:255]: (style) Variable 'nShowerHit' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/AnalysisSkimmer/parameters/ParametersNumuCCpi.cxx:65]: (style) The scope of the variable 'fracDiff' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/AnalysisSkimmer/skimmers/NueSkimmer.cxx:152]: (style) The scope of the variable 'sliceNum' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/AnalysisSkimmer/skimmers/NumuSkimmer.cxx:148]: (style) The scope of the variable 'sliceNum' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/AnalysisSkimmer/utils/SkimmingUtils.cxx:24]: (style) The scope of the variable 'cellId' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.

BeamlineRecoBase

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BeamlineRecoBase/BeamlinePID.cxx:77]: (style) Variable 'highest_prob' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BeamlineRecoBase/BeamlineRecoBase_dict.cc:3259]: (error) No pair for character ('). Can't process file. File is either invalid or unicode, which is currently not supported.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BeamlineRecoBase/ToF.cxx:19]: (performance) When an object of a class is created, the constructors of all member variables are called consecutively in the order the variables are declared, even if you don't explicitly write them to the initialization list. You could avoid assigning 'fTimestamps' a value by passing the value to the constructor in the initialization list.

BeamlineReco

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BeamlineReco/WCHitFinderAlg.cxx:153]: (performance) Parameter 'hit_time_buffer' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BeamlineReco/WCHitFinderAlg.cxx:154]: (performance) Parameter 'hit_wire_buffer' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BeamlineReco/WCTrackAlg.cxx:70]: (performance) Parameter 'wcs' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.

BeamlineUtils

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BeamlineUtils/BeamlineUtils_dict.cc:651]: (error) No pair for character ('). Can't process file. File is either invalid or unicode, which is currently not supported.

BlessedPlots

cppcheck: No C or C++ source files found.

BreakPointFitter

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/BPFCVNAna_module.cc:377]: (style) Variable 'enePDGs' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/BPFCVNAna_module.cc:102]: (style) The class 'BPFCVNAna' is unsafe, wrong usage can cause memory/resource leaks for 'BPFCVNAna::fInfo'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/BPFEnergyEstimator_module.cc:348] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/BPFEnergyEstimator_module.cc:351]: (performance) Variable 'tempH' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/BPFEnergyEstimator_module.cc:349] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/BPFEnergyEstimator_module.cc:352]: (performance) Variable 'tempA' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/BPFEnergyEstimator_module.cc:350] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/BPFEnergyEstimator_module.cc:353]: (performance) Variable 'tempN' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/BPFPIdMaker_module.cc:356] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/BPFPIdMaker_module.cc:359]: (performance) Variable 'tempH' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/BPFPIdMaker_module.cc:357] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/BPFPIdMaker_module.cc:360]: (performance) Variable 'tempA' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/BPFPIdMaker_module.cc:358] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/BPFPIdMaker_module.cc:361]: (performance) Variable 'tempN' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/BPFTmvaTrainer_module.cc:619] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/BPFTmvaTrainer_module.cc:622]: (performance) Variable 'tempH' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/BPFTmvaTrainer_module.cc:620] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/BPFTmvaTrainer_module.cc:623]: (performance) Variable 'tempA' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/BPFTmvaTrainer_module.cc:621] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/BPFTmvaTrainer_module.cc:624]: (performance) Variable 'tempN' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/BreakPointFitter_dict.cc:1667]: (error) No pair for character ('). Can't process file. File is either invalid or unicode, which is currently not supported.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/BreakPointProtonAna_module.cc:368]: (style) Variable 'slice_GeV' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/BreakPointProtonAna_module.cc:413]: (style) Variable 'long_trk' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/BreakPointProtonAna_module.cc:407]: (style) Variable 'min_X2' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/BreakPoint_module.cc:321]: (style) The scope of the variable 'sumx' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/BreakPoint_module.cc:322]: (style) The scope of the variable 'sumy' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/BreakPoint_module.cc:323]: (style) The scope of the variable 'sigx2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/BreakPoint_module.cc:324]: (style) The scope of the variable 'sigy2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/BreakPoint_module.cc:870]: (style) The scope of the variable 'chix' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/BreakPoint_module.cc:870]: (style) The scope of the variable 'chiy' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/BreakPoint_module.cc:870]: (style) The scope of the variable 'chim' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/BreakPoint_module.cc:870]: (style) The scope of the variable 'fac' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/breakpoint.C:25]: (style) Variable 'c1' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/breakpoint.C:29]: (style) Variable 'c2' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/breakpoint.C:33]: (style) Variable 'c3' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/breakpoint.C:37]: (style) Variable 'c4' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/func/HitList3D.cxx:72]: (style) The scope of the variable 'n' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/func/Lutz.cxx:107]: (style) The scope of the variable 'fwxfz' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/func/Lutz.cxx:119]: (style) The scope of the variable 'sum0J2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/func/Lutz.cxx:120]: (style) The scope of the variable 'sum1J2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/func/Lutz.cxx:210]: (style) The scope of the variable 'zeta' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/func/Lutz.cxx:224]: (style) The scope of the variable 'j' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/func/Path.cxx:92]: (style) The scope of the variable 'n' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/func/Path.cxx:418]: (style) The scope of the variable 'eps' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/func/Path.cxx:521]: (style) The scope of the variable 'Tmid' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/func/Path.cxx:673]: (style) The scope of the variable 'eps' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/func/Path.cxx:523]: (style) Variable 'Tmid' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/func/ScatteringSurfaces.cxx:122]: (style) The scope of the variable 'psi0' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/func/TrackBasis.cxx:151]: (style) The scope of the variable 'w' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/func/lutz.C:4]: (warning) %d in format string (no. 1) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/func/lutz.C:11]: (warning) %d in format string (no. 1) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/func/lutz.C:14]: (warning) %d in format string (no. 1) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/func/lutz.C:17]: (warning) %d in format string (no. 1) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/func/lutz.C:29]: (warning) %d in format string (no. 1) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/func/lutz.C:37]: (style) Variable 'f' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/func/testHitList3D.cc:11]: (style) The scope of the variable 's' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/func/testHitList3D.cc:11]: (style) The scope of the variable 'x' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/func/testHitList3D.cc:11]: (style) The scope of the variable 'y' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/func/testHitList3D.cc:11]: (style) The scope of the variable 'z' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/func/testLutz.cc:149]: (warning) %d in format string (no. 1) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/func/testLutz.cc:153]: (warning) %d in format string (no. 1) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/func/testLutz.cc:157]: (warning) %d in format string (no. 1) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/func/testLutz.cc:85]: (style) The scope of the variable 'aTRUE' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/func/testLutz.cc:86]: (style) The scope of the variable 'bTRUE' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/func/testTrackBasis.cc:37]: (style) The scope of the variable 'costh' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/func/testTrackBasis.cc:37]: (style) The scope of the variable 'sinth' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/func/testTrackBasis.cc:37]: (style) The scope of the variable 'phi' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/func/testdEdxTables.cc:16]: (style) The scope of the variable 't' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/macros/add_and_normalize_LLhistos.C:69] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/macros/add_and_normalize_LLhistos.C:73]: (performance) Variable 'NXbins' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/macros/add_and_normalize_LLhistos.C:70] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BreakPointFitter/macros/add_and_normalize_LLhistos.C:74]: (performance) Variable 'NYbins' is reassigned a value before the old one has been used.

BremShowerFilter

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BremShowerFilter/BremShowerFilter_module.cc:323]: (style) The scope of the variable 'isCandTrack' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.

CAFAna

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Vars/GenieWeights.h:43]: (style) Statements following return, break, continue, goto or throw will never be executed.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Core/ISyst.h:23]: (style) 'ISyst::operator=' should return 'ISyst &'.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Analysis/CovMxManager.cxx:287]: (error) Instance of 'CovMxManager' object is destroyed immediately.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Analysis/NuePlotStyle.h:26]: (style) Unused private function: 'NuePlotStyle::POTLabel'
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Analysis/NusSystsMaker.cxx:1334]: (performance) Checking for 'fSpectra' emptiness might be inefficient. Using fSpectra.empty() instead of fSpectra.size() can be faster. fSpectra.size() can take linear time but fSpectra.empty() is guaranteed to take constant time.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Analysis/NusSystsMaker.cxx:1642]: (performance) Checking for 'syst_makers' emptiness might be inefficient. Using syst_makers.empty() instead of syst_makers.size() can be faster. syst_makers.size() can take linear time but syst_makers.empty() is guaranteed to take constant time.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Analysis/Plots.cxx:830]: (style) Variable 'systs' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Analysis/PredictionWriter.h:14]: (style) 'class PredictionWriter' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Analysis/SpectrumHandler.cxx:64] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Analysis/SpectrumHandler.cxx:64]: (style) Finding the same expression on both sides of an operator is suspicious and might indicate a cut and paste or logic error. Please examine this code carefully to determine if it is correct.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Analysis/SpectrumHandler.cxx:316] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Analysis/SpectrumHandler.cxx:316]: (style) Finding the same expression on both sides of an operator is suspicious and might indicate a cut and paste or logic error. Please examine this code carefully to determine if it is correct.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Analysis/SpectrumHandler.cxx:350] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Analysis/SpectrumHandler.cxx:350]: (style) Finding the same expression on both sides of an operator is suspicious and might indicate a cut and paste or logic error. Please examine this code carefully to determine if it is correct.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Analysis/SpectrumHandler.h:101]: (performance) Parameter 'ds' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Analysis/SpectrumHandler.h:101]: (performance) Parameter 'dslab' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Analysis/SpectrumHandler.h:103]: (performance) Parameter 'llabel' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Analysis/SpectrumHandler.h:115]: (performance) Parameter 'wl' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Analysis/SpectrumHandler.h:117]: (performance) Parameter 'sl' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Analysis/SpectrumHandler.h:120]: (performance) Parameter 'hl' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Analysis/SpectrumHandler.cxx:23]: (performance) Parameter 'loaders' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Analysis/SpectrumHandler.cxx:23]: (performance) Parameter 'dataset_labels' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Analysis/SpectrumHandler.cxx:52]: (performance) Parameter 'loaders' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Analysis/SpectrumHandler.cxx:52]: (performance) Parameter 'loader_labels' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Analysis/SpectrumHandler.cxx:73]: (performance) Parameter 'spillcuts' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Analysis/SpectrumHandler.cxx:98]: (performance) Parameter 'label' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Analysis/SpectrumHandler.cxx:105]: (performance) Parameter 'loader_labels' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Analysis/SpectrumHandler.cxx:116]: (performance) Parameter 'vars' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Analysis/SpectrumHandler.cxx:116]: (performance) Parameter 'var_labels' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Analysis/SpectrumHandler.cxx:116]: (performance) Parameter 'var_titles' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Analysis/SpectrumHandler.cxx:116]: (performance) Parameter 'var_bins' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Analysis/SpectrumHandler.cxx:135]: (performance) Parameter 'cuts' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Analysis/SpectrumHandler.cxx:135]: (performance) Parameter 'cut_labels' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Analysis/SpectrumHandler.cxx:152]: (performance) Parameter 'weights' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Analysis/SpectrumHandler.cxx:152]: (performance) Parameter 'weight_labels' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Analysis/SpectrumHandler.cxx:169]: (performance) Parameter 'shifts' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Analysis/SpectrumHandler.cxx:169]: (performance) Parameter 'shift_labels' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Analysis/SpectrumHandler.cxx:186]: (performance) Parameter 'haxes' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Analysis/SpectrumHandler.cxx:186]: (performance) Parameter 'haxis_labels' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Core/OscCurve.cxx:80]: (warning) Member variable 'OscCurve::fFrom' is not assigned a value in 'OscCurve::operator='.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Core/OscCurve.cxx:80]: (warning) Member variable 'OscCurve::fTo' is not assigned a value in 'OscCurve::operator='.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Core/SystShifts.cxx:251]: (performance) Parameter 'systConfigs' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Core/Utilities.cxx:274]: (performance) Checking for 'nullRows' emptiness might be inefficient. Using nullRows.empty() instead of nullRows.size() can be faster. nullRows.size() can take linear time but nullRows.empty() is guaranteed to take constant time.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Decomp/BENDecomp.cxx:312]: (style) The scope of the variable 'pionScale' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Decomp/FluxDecomp.cxx:183]: (style) The scope of the variable 'pionScale' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Dict/CAFAna_dict.cc:309]: (error) No pair for character ('). Can't process file. File is either invalid or unicode, which is currently not supported.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/FC/FCSurface.h:14]: (style) 'class FCSurface' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Fit/CovMxSurface.cxx:459]: (style) Unused variable: rescaled
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Fit/MCMCSamples.cxx:444]: (style) The scope of the variable 'e_sample' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Fit/MCMCSamples.cxx:35]: (performance) Parameter 'diagBranchNames' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Prediction/PredictionExtendToPeripheral.cxx:126]: (style) Variable 'labels' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Prediction/PredictionExtendToPeripheral.cxx:127]: (style) Variable 'bins' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Prediction/PredictionSystJoint2018.cxx:190]: (style) The scope of the variable 'trigger' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Prediction/PredictionSystJoint2018.cxx:321]: (style) The scope of the variable 'kNormFHC' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Prediction/PredictionSystJoint2018.cxx:322]: (style) The scope of the variable 'kNormRHC' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Prediction/PredictionSystJointDemo.cxx:171]: (style) The scope of the variable 'trigger' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Prediction/PredictionSystJointDemo.cxx:305]: (style) The scope of the variable 'kNormFHC' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Prediction/PredictionSystJointDemo.cxx:306]: (style) The scope of the variable 'kNormRHC' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Prediction/PredictionSystJointDemo.cxx:203]: (performance) Parameter 'beam' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Prediction/PredictionSystJointDemo.cxx:206]: (performance) Parameter 'fname' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Prediction/PredictionSystNue2017.cxx:229]: (style) The scope of the variable 'normBothSyst' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Prediction/PredictionSystNue2017.cxx:230]: (style) The scope of the variable 'normBkgSyst' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Prediction/PredictionSystNue2017.cxx:231]: (style) The scope of the variable 'normSigSyst' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Prediction/PredictionSystNueSecondAna.cxx:159]: (style) The scope of the variable 'normBkgSyst' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Prediction/PredictionSystNumu2017.cxx:140]: (style) The scope of the variable 'normBothSyst' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Prediction/PredictionSystNumu2017.cxx:141]: (style) The scope of the variable 'normBkgSyst' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Prediction/PredictionSystNumu2017.cxx:142]: (style) The scope of the variable 'normSigSyst' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Systs/NueAcceptSysts.cxx:33]: (style) The scope of the variable 'peri' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Systs/NueAcceptSysts.cxx:119]: (style) The scope of the variable 'peri' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Systs/NueExtrapSysts.cxx:24]: (style) The scope of the variable 'core' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Systs/NueExtrapSysts.cxx:25]: (style) The scope of the variable 'peri' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Systs/SummedSysts.cxx:12]: (performance) Parameter 'shortname' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Systs/SummedSysts.cxx:13]: (performance) Parameter 'latexname' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Systs/SystConcat.cxx:20]: (performance) When an object of a class is created, the constructors of all member variables are called consecutively in the order the variables are declared, even if you don't explicitly write them to the initialization list. You could avoid assigning 'fSamples' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Systs/SystConcat.cxx:21]: (performance) When an object of a class is created, the constructors of all member variables are called consecutively in the order the variables are declared, even if you don't explicitly write them to the initialization list. You could avoid assigning 'fCommonSysts' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Validation/nue_data_mc_validation.C:157] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Validation/nue_data_mc_validation.C:161]: (performance) Variable 'kNumSels' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Validation/nue_data_mc_validation.C:32]: (performance) Parameter 'predFileName' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Validation/nue_data_mc_validation.C:33]: (performance) Parameter 'ldrData' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Validation/nue_data_mc_validation.C:33]: (performance) Parameter 'ldrMC' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Vars/LSTMEHelperVars.cxx:86]: (error) syntax error
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Vars/NDNCPi0Xsec.cxx:19] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Vars/NDNCPi0Xsec.cxx:21]: (performance) Variable 'npng1gamma' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Vars/NumuEFxs.cxx:263] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Vars/NumuEFxs.cxx:264]: (performance) Variable 'MuonEMC' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Vars/NumuEFxs.cxx:228]: (style) The scope of the variable 'slope4' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Vars/NumuEFxs.cxx:258]: (style) The scope of the variable 'slope4' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Vars/NumuEFxs.cxx:295]: (style) The scope of the variable 'slopeH4' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Vars/NumuEFxs.cxx:499]: (style) The scope of the variable 'slope4' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Vars/NumuEFxs.cxx:530]: (style) The scope of the variable 'slope4' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Vars/NumuEFxs.cxx:629]: (style) The scope of the variable 'slopeH4' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Vars/SplineUtils.cxx:388]: (warning) %d in format string (no. 1) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Vars/SplineUtils.cxx:419]: (warning) %d in format string (no. 1) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Vars/SplineUtils.cxx:123]: (style) The scope of the variable 'd' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Vars/SplineUtils.cxx:124]: (style) The scope of the variable 'ni' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Vars/SplineUtils.cxx:169]: (style) The scope of the variable 'x' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Vars/SplineUtils.cxx:217]: (style) The scope of the variable 'd' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Vars/SplineUtils.cxx:218]: (style) The scope of the variable 'sig' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Vars/SplineUtils.cxx:238]: (style) The scope of the variable 'xtmp' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Vars/SplineUtils.cxx:239]: (style) The scope of the variable 'ytmp' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Vars/SplineUtils.cxx:627]: (style) The scope of the variable 'x' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Vars/SplineUtils.cxx:293]: (style) Variable 'x2' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Vars/XsecTunes.cxx:18]: (style) Statements following return, break, continue, goto or throw will never be executed.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/XSec/CrossSectionSpectra.cxx:12]: (performance) When an object of a class is created, the constructors of all member variables are called consecutively in the order the variables are declared, even if you don't explicitly write them to the initialization list. You could avoid assigning 'fFlux' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/XSec/Flux.cxx:176]: (style) Unused variable: fileIn
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/XSec/FluxMultiverseSyst.cxx:161]: (style) Variable 'cv_counts_in_bins' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/XSec/FluxMultiverseSyst.cxx:208]: (style) Variable 'cv_events_in_bins' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/XSec/Multiverse.cxx:381]: (warning) Member variable 'Multiverse::fNDims' is not assigned a value in 'Multiverse::operator='.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/XSec/Multiverse.cxx:396]: (warning) Member variable 'Multiverse::fNDims' is not assigned a value in 'Multiverse::operator='.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/XSec/TrivialBkgdEstimator.cxx:72]: (performance) When an object of a class is created, the constructors of all member variables are called consecutively in the order the variables are declared, even if you don't explicitly write them to the initialization list. You could avoid assigning 'fMCBkgd' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/XSec/TrivialCrossSectionAnalysis.cxx:112]: (style) Variable 'mv_flux' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/XSec/TrivialCrossSectionAnalysis.cxx:718]: (warning) Assignment of function parameter has no effect outside the function.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/XSec/TrivialCrossSectionAnalysis.cxx:719]: (warning) Assignment of function parameter has no effect outside the function.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/XSec/TrivialCrossSectionAnalysis.cxx:720]: (warning) Assignment of function parameter has no effect outside the function.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/XSec/TrivialCrossSectionAnalysis.cxx:721]: (warning) Assignment of function parameter has no effect outside the function.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/XSec/TrivialCrossSectionAnalysis.cxx:722]: (warning) Assignment of function parameter has no effect outside the function.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/XSec/XSecSysts.cxx:48]: (warning) Conversion of string literal "kCalibNeg" to bool always evaluates to true.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/XSec/XSecSysts.cxx:49]: (warning) Conversion of string literal "kCalibPos" to bool always evaluates to true.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/XSec/XSecSysts.cxx:50]: (warning) Conversion of string literal "kCalibShape" to bool always evaluates to true.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/XSec/XSecSysts.cxx:51]: (warning) Conversion of string literal "kLightUpCalibDown" to bool always evaluates to true.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/XSec/XSecSysts.cxx:52]: (warning) Conversion of string literal "kLightDownCalibUp" to bool always evaluates to true.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/XSec/XSecSysts.cxx:53]: (warning) Conversion of string literal "kCherenkov" to bool always evaluates to true.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/XSec/demo_trivial_xsec_analysis.C:104]: (style) Variable 'pdg' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/grid/hadd_cafana.cc:118]: (style) Suspicious condition (assignment + comparison); Clarify expression with parentheses.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/CAF_makeCAFSensitivities_for_FNEX.C:115]: (style) The scope of the variable 'nnumu' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/NDtoFDkin/plot_3NDvsFD.C:72]: (performance) Parameter 'weight_name' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/NDtoFDkin/plot_3NDvsFD.C:72]: (performance) Parameter 'fname_NDnon' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/NDtoFDkin/plot_3NDvsFD.C:72]: (performance) Parameter 'fname_ND' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/NDtoFDkin/plot_3NDvsFD.C:72]: (performance) Parameter 'fname_FD' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/NDtoFDkin/plot_ND_numu_NOMvsREW.C:256]: (style) Variable 'intBeam' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/NDtoFDkin/plot_ND_numu_NOMvsREW.C:67]: (performance) Parameter 'weight_name' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/NDtoFDkin/plot_ND_numu_NOMvsREW.C:67]: (performance) Parameter 'fname_nom' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/NDtoFDkin/plot_ND_numu_NOMvsREW.C:67]: (performance) Parameter 'fname' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/NDtoFDkin/plot_NDvsFD_REW.C:70]: (performance) Parameter 'weight_name' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/NDtoFDkin/plot_NDvsFD_REW.C:70]: (performance) Parameter 'fname_ND' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/NDtoFDkin/plot_NDvsFD_REW.C:70]: (performance) Parameter 'fname_FD' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/NDtoFDkin/plot_NDvsFD_weights.C:71]: (performance) Parameter 'fname_ND' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/NDtoFDkin/plot_NDvsFD_weights.C:71]: (performance) Parameter 'fname_FD' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/NDtoFDkin/plot_datamc_ND_numu.C:189]: (style) Variable 'intBeam' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/NDtoFDkin/plot_datamc_ND_numu_REW.C:189]: (style) Variable 'intBeam' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/NDtoFDkin/plot_datamc_ND_numu_REW.C:61]: (performance) Parameter 'weight_name' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/NDtoFDkin/plot_datamc_ND_numu_REW.C:61]: (performance) Parameter 'fname' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/NDtoFDkin/plot_nueFD_Signal_REWvsNOM.C:104]: (style) Variable 'tabNames' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/NDtoFDkin/plot_nueFD_Signal_REWvsNOM.C:116]: (style) Unused variable: intTotalFull
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/NDtoFDkin/plot_nueFD_Signal_REWvsNOM.C:116]: (style) Unused variable: intAllFull
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/NDtoFDkin/plot_nueFD_Signal_REWvsNOM.C:116]: (style) Unused variable: intSigFull
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/NDtoFDkin/plot_nueFD_Signal_REWvsNOM.C:116]: (style) Unused variable: intNCFull
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/NDtoFDkin/plot_nueFD_Signal_REWvsNOM.C:116]: (style) Unused variable: intCCFull
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/NDtoFDkin/plot_nueFD_Signal_REWvsNOM.C:116]: (style) Unused variable: intBeamFull
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/NDtoFDkin/plot_nueFD_Signal_REWvsNOM.C:116]: (style) Unused variable: intTauFull
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/NDtoFDkin/plot_nueFD_Signal_REWvsNOM.C:119]: (style) Variable 'selName' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/NDtoFDkin/plot_nueFD_Signal_REWvsNOM.C:121]: (style) Variable 'pidaxes' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/NDtoFDkin/plot_nueFD_Signal_REWvsNOM.C:70]: (performance) Parameter 'filename_no' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/NDtoFDkin/plot_nueFD_Signal_REWvsNOM.C:70]: (performance) Parameter 'filename_re' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/barchart_extrapcomparison.C:71]: (error) syntax error
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/decompPlots/draw_decomp_plots.C:520]: (style) Unused variable: calc
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/fiducial_mass.C:39]: (style) Variable 'del_a' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/fiducial_mass.C:41]: (style) Variable 'del_b' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/getHists_FNEX.C:46]: (style) Variable 'nueOnly' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/getHists_FNEX.C:47]: (style) Variable 'joint' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/getHists_FNEX.C:48]: (style) Variable 'onlyNH' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/getHists_FNEX.C:49]: (style) Variable 'onlyIH' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/getHists_FNEX.C:119]: (style) Variable 'cosmicscale' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/joint_fit_2017_contours.C:369]: (style) The scope of the variable 'official' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/joint_fit_2017_contours.C:371]: (style) Variable 'official' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/joint_fit_2017_make_fc_slice.C:150] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/joint_fit_2017_make_fc_slice.C:152]: (performance) Variable 'seedss2th13' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/joint_fit_2017_slices.C:296]: (style) Variable 'pcXH' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/joint_fit_2017_slices.C:617]: (style) Variable 'minchi23' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/make_mockdata_syst_contours.C:45]: (performance) Parameter 'fitvars' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/make_rhcpred_2017.C:26]: (style) Variable 'pot' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/make_rockpred_2017.C:28]: (style) Variable 'pot' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/monoprob.C:123]: (style) The scope of the variable 'daterr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/monoprob.C:34]: (style) Variable 'ssth23' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/nue_draw_michelDataMC.C:68]: (style) Variable 'canMID' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/nue_michelDataMC.C:220]: (style) Variable 'pot' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/nue_nd_datastability.C:196]: (style) Variable 'da_pot2' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/nue_nd_datastability.C:200]: (style) Variable 'mc_pot2' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/nue_nd_datastability.C:201]: (style) Variable 'mc_pot3' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/NueSystFuncs.h:75]: (style) Variable 'c1' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/NueSystFuncs.h:153]: (style) Variable 'c2' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/NueSystFuncs.h:252]: (style) Variable 'c1' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/plot_syst_contours.C:59]: (error) syntax error
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/sidebands/fd_plot.C:451]: (style) Suspicious expression. Boolean result is used in bitwise operation. The operator '!' and the comparison operators have higher precedence than bitwise operators. It is recommended that the expression is clarified with parentheses.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/sidebands/fd_plot.C:75]: (style) Variable 'color4' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/sidebands/fd_plot.C:154]: (style) Unused variable: hFakeData
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/sidebands/selection_story_plots.C:147]: (style) The scope of the variable 'start' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/sidebands/selection_story_plots.C:493]: (style) Suspicious expression. Boolean result is used in bitwise operation. The operator '!' and the comparison operators have higher precedence than bitwise operators. It is recommended that the expression is clarified with parentheses.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/sidebands/selection_story_plots.C:75]: (style) Variable 'color4' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/sidebands/selection_story_plots.C:145]: (style) Unused variable: hFakeData
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/sidebands/selection_story_plots.C:151]: (style) Variable 'start' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2017/systematics_table_from_pred_interp.C:89]: (style) Unused variable: errs
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/AcceptSysts/datamc_ND_numu_kinematics_FHC_REW.C:95]: (performance) Parameter 'sample' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/AcceptSysts/datamc_ND_numu_kinematics_RHC_REW.C:95]: (performance) Parameter 'sample' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/AcceptSysts/make_nueFDprediction_kinematics_FHC_REW.C:67]: (performance) Parameter 'sample' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/AcceptSysts/make_nueFDprediction_kinematics_FHC_REW.C:67]: (performance) Parameter 'wfile' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/AcceptSysts/make_nueFDprediction_kinematics_RHC_REW.C:67]: (performance) Parameter 'sample' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/AcceptSysts/make_nueFDprediction_kinematics_RHC_REW.C:67]: (performance) Parameter 'wfile' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/AcceptSysts/plot_3NDvsFD_FHC.C:75]: (performance) Parameter 'weight_name' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/AcceptSysts/plot_3NDvsFD_FHC.C:75]: (performance) Parameter 'fname_NDnon' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/AcceptSysts/plot_3NDvsFD_FHC.C:75]: (performance) Parameter 'fname_ND' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/AcceptSysts/plot_3NDvsFD_FHC.C:75]: (performance) Parameter 'fname_FD' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/AcceptSysts/plot_3NDvsFD_RHC.C:74]: (performance) Parameter 'weight_name' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/AcceptSysts/plot_3NDvsFD_RHC.C:74]: (performance) Parameter 'fname_NDnon' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/AcceptSysts/plot_3NDvsFD_RHC.C:74]: (performance) Parameter 'fname_ND' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/AcceptSysts/plot_3NDvsFD_RHC.C:74]: (performance) Parameter 'fname_FD' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/AcceptSysts/plot_NDvsFD_weights_FHC.C:70]: (performance) Parameter 'fname_ND' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/AcceptSysts/plot_NDvsFD_weights_FHC.C:70]: (performance) Parameter 'fname_FD' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/AcceptSysts/plot_NDvsFD_weights_RHC.C:67]: (performance) Parameter 'fname_ND' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/AcceptSysts/plot_NDvsFD_weights_RHC.C:67]: (performance) Parameter 'fname_FD' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/AcceptSysts/plot_nueFD_Signal_REWvsNOM_FHC.C:132]: (style) Variable 'file' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/AcceptSysts/plot_nueFD_Signal_REWvsNOM_FHC.C:134]: (style) Variable 'pidaxes' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/AcceptSysts/plot_nueFD_Signal_REWvsNOM_FHC.C:135]: (style) Variable 'varName' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/AcceptSysts/plot_nueFD_Signal_REWvsNOM_FHC.C:220]: (style) Variable 'hSig_re_peri' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/AcceptSysts/plot_nueFD_Signal_REWvsNOM_FHC.C:224]: (style) Variable 'hWS_re_peri' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/AcceptSysts/plot_nueFD_Signal_REWvsNOM_FHC.C:91]: (performance) Parameter 'filename_no' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/AcceptSysts/plot_nueFD_Signal_REWvsNOM_FHC.C:91]: (performance) Parameter 'filename_re_core' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/AcceptSysts/plot_nueFD_Signal_REWvsNOM_FHC.C:91]: (performance) Parameter 'filename_re_peri' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/AcceptSysts/plot_nueFD_Signal_REWvsNOM_RHC.C:131]: (style) Variable 'file' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/AcceptSysts/plot_nueFD_Signal_REWvsNOM_RHC.C:133]: (style) Variable 'pidaxes' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/AcceptSysts/plot_nueFD_Signal_REWvsNOM_RHC.C:134]: (style) Variable 'varName' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/AcceptSysts/plot_nueFD_Signal_REWvsNOM_RHC.C:219]: (style) Variable 'hSig_re_peri' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/AcceptSysts/plot_nueFD_Signal_REWvsNOM_RHC.C:223]: (style) Variable 'hWS_re_peri' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/AcceptSysts/plot_nueFD_Signal_REWvsNOM_RHC.C:90]: (performance) Parameter 'filename_no' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/AcceptSysts/plot_nueFD_Signal_REWvsNOM_RHC.C:90]: (performance) Parameter 'filename_re_core' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/AcceptSysts/plot_nueFD_Signal_REWvsNOM_RHC.C:90]: (performance) Parameter 'filename_re_peri' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/BoxOpening/Ana2018_box_opening_macro.C:23]: (performance) Parameter 'beam' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/joint_fit_2018_tools.h:130]: (style) Suspicious expression. Boolean result is used in bitwise operation. The operator '!' and the comparison operators have higher precedence than bitwise operators. It is recommended that the expression is clarified with parentheses.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/joint_fit_2018_tools.h:69]: (style) Variable 'minX' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/joint_fit_2018_tools.h:70]: (style) Variable 'maxX' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/joint_fit_2018_tools.h:71]: (style) Variable 'widthX' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/joint_fit_2018_tools.h:72]: (style) Variable 'minY' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/joint_fit_2018_tools.h:73]: (style) Variable 'maxY' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/joint_fit_2018_tools.h:74]: (style) Variable 'widthY' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/BoxOpening/plot_predictions.C:25]: (performance) Parameter 'fname' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/BoxOpening/plot_predictions.C:26]: (performance) Parameter 'beam' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/Decomp/plot_BEN.C:64]: (style) Variable 'pot' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/Decomp/plot_BEN.C:82]: (style) Variable 'path' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/Decomp/plot_BEN.C:206]: (style) Variable 'path' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/Decomp/plot_BEN.C:239]: (style) Unused variable: leg_tot
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/Decomp/plot_BEN.C:49]: (performance) Parameter 'file' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/Decomp/plot_michel_final.C:85]: (style) Variable 'colors' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/Decomp/plot_michel_final.C:91]: (style) Variable 'labels' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/Decomp/plot_michel_final.C:126]: (style) Variable 'norm' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/Decomp/plot_nuTree.C:63]: (style) Variable 'LineStyles' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/Decomp/plot_nuTree.C:166]: (style) Variable 'hSumNu' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/Decomp/plot_nuTree.C:170]: (style) Variable 'hSumNuBarF' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/Decomp/plot_nuTree.C:171]: (style) Variable 'hSumNuBarN' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FNEX/MakeCAFSensitivities_for_FNEX.C:117]: (style) The scope of the variable 'nnumu' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/generate_fc_binlists.C:66]: (style) Variable 'hierstr' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/joint_fit_2018_contours.C:555]: (style) The scope of the variable 'official' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/joint_fit_2018_contours.C:703]: (style) The scope of the variable 'delta' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/joint_fit_2018_contours.C:703]: (style) The scope of the variable 'th23' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/joint_fit_2018_contours.C:703]: (style) The scope of the variable 'dmsq32' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/joint_fit_2018_contours.C:703]: (style) The scope of the variable 'th13' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/joint_fit_2018_contours.C:53]: (style) Variable 'white' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/joint_fit_2018_contours.C:303]: (style) Variable 'seedShifts' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/joint_fit_2018_contours.C:325]: (style) Unused variable: numu_pre_seedLOIH
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/joint_fit_2018_contours.C:325]: (style) Unused variable: numu_pre_seedUOIH
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/joint_fit_2018_contours.C:325]: (style) Unused variable: dmsq_numu_pre_seedNH
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/joint_fit_2018_contours.C:325]: (style) Unused variable: dmsq_numu_pre_seedIH
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/joint_fit_2018_contours.C:557]: (style) Variable 'official' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/joint_fit_2018_contours.C:847]: (style) Variable 'isSysts' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/joint_fit_2018_contours.C:848]: (style) Variable 'isFccorr' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/joint_fit_2018_slices.C:300]: (style) Variable 'pcXH' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/joint_fit_2018_slices.C:572]: (style) Unused variable: numu_pre_seedLOIH
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/joint_fit_2018_slices.C:572]: (style) Unused variable: numu_pre_seedUOIH
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/joint_fit_2018_slices.C:572]: (style) Unused variable: dmsq_numu_pre_seedNH
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/joint_fit_2018_slices.C:572]: (style) Unused variable: dmsq_numu_pre_seedIH
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/joint_fit_2018_slices.C:865]: (style) Variable 'minchi23' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/make_fc_mass_and_oct_nersc_2018.C:242]: (style) Variable 'mock_integral_fhc' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/make_fc_mass_and_oct_nersc_2018.C:243]: (style) Variable 'mock_integral_rhc' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/make_fc_mass_and_oct_nersc_2018.C:310]: (style) Variable 'minchi_numu' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/make_fc_mh_nersc_2018.C:148]: (style) Variable 'best_bin_low' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/make_fc_mh_nersc_2018.C:149]: (style) Variable 'best_bin_high' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/make_fc_mh_nersc_2018.C:150]: (style) Variable 'widthX' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/make_fc_mh_nersc_2018.C:245]: (style) Variable 'mock_integral_fhc' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/make_fc_mh_nersc_2018.C:246]: (style) Variable 'mock_integral_rhc' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/make_fc_mh_nersc_2018.C:313]: (style) Variable 'minchi_numu' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/make_fc_oct_nersc_2018.C:236]: (style) Variable 'mock_integral_fhc' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/make_fc_oct_nersc_2018.C:237]: (style) Variable 'mock_integral_rhc' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/make_fc_oct_nersc_2018.C:304]: (style) Variable 'minchi_numu' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/make_fc_oct_nersc_2018.C:343]: (style) Variable 'LO_ssth23_seeds' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/make_fc_slices_nersc_2018.C:639] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/make_fc_slices_nersc_2018.C:652]: (performance) Variable 'bestdelta' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/make_fc_slices_nersc_2018.C:640] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/make_fc_slices_nersc_2018.C:653]: (performance) Variable 'bestssth23' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/make_fc_slices_nersc_2018.C:641] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/make_fc_slices_nersc_2018.C:654]: (performance) Variable 'bestth13' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/make_fc_slices_nersc_2018.C:642] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/make_fc_slices_nersc_2018.C:655]: (performance) Variable 'bestdmsq' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/make_fc_slices_nersc_2018.C:258]: (style) The scope of the variable 'bin' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/make_fc_slices_nersc_2018.C:233]: (style) Variable 'minX' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/make_fc_slices_nersc_2018.C:234]: (style) Variable 'maxX' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/make_fc_slices_nersc_2018.C:235]: (style) Variable 'widthX' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/make_fc_slices_nersc_2018.C:413]: (style) Variable 'mock_integral' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/make_fc_slices_nersc_2018.C:537]: (style) Variable 'minchi_numu' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/make_fc_slices_nersc_2018_stats.C:639] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/make_fc_slices_nersc_2018_stats.C:652]: (performance) Variable 'bestdelta' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/make_fc_slices_nersc_2018_stats.C:640] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/make_fc_slices_nersc_2018_stats.C:653]: (performance) Variable 'bestssth23' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/make_fc_slices_nersc_2018_stats.C:641] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/make_fc_slices_nersc_2018_stats.C:654]: (performance) Variable 'bestth13' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/make_fc_slices_nersc_2018_stats.C:642] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/make_fc_slices_nersc_2018_stats.C:655]: (performance) Variable 'bestdmsq' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/make_fc_slices_nersc_2018_stats.C:258]: (style) The scope of the variable 'bin' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/make_fc_slices_nersc_2018_stats.C:233]: (style) Variable 'minX' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/make_fc_slices_nersc_2018_stats.C:234]: (style) Variable 'maxX' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/make_fc_slices_nersc_2018_stats.C:235]: (style) Variable 'widthX' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/make_fc_slices_nersc_2018_stats.C:413]: (style) Variable 'mock_integral' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/make_fc_slices_nersc_2018_stats.C:537]: (style) Variable 'minchi_numu' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/make_fc_surfaces_nersc_2018.C:81]: (style) The scope of the variable 'j' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/make_fc_surfaces_nersc_2018.C:257]: (style) The scope of the variable 'bin' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/make_fc_surfaces_nersc_2018.C:122]: (style) Variable 'NERSC' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/make_fc_surfaces_nersc_2018.C:246]: (style) Variable 'minX' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/make_fc_surfaces_nersc_2018.C:247]: (style) Variable 'maxX' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/make_fc_surfaces_nersc_2018.C:248]: (style) Variable 'minY' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/make_fc_surfaces_nersc_2018.C:249]: (style) Variable 'maxY' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/make_fc_surfaces_nersc_2018.C:397]: (style) Variable 'mock_integral' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/make_fc_surfaces_nersc_2018.C:473]: (style) Variable 'minchi_numu' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/make_fc_surfaces_nersc_2018_stats.C:248]: (style) The scope of the variable 'bin' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/make_fc_surfaces_nersc_2018_stats.C:113]: (style) Variable 'NERSC' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/make_fc_surfaces_nersc_2018_stats.C:237]: (style) Variable 'minX' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/make_fc_surfaces_nersc_2018_stats.C:238]: (style) Variable 'maxX' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/make_fc_surfaces_nersc_2018_stats.C:239]: (style) Variable 'minY' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/make_fc_surfaces_nersc_2018_stats.C:240]: (style) Variable 'maxY' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/make_fc_surfaces_nersc_2018_stats.C:387]: (style) Variable 'mock_integral' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/make_fc_surfaces_nersc_2018_stats.C:463]: (style) Variable 'minchi_numu' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/nuebar_signif.C:65]: (style) The scope of the variable 'th23' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/nuebar_signif.C:65]: (style) The scope of the variable 'dmsq' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/nuebar_signif.C:65]: (style) The scope of the variable 'dcp' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/nuebar_signif.C:47]: (style) Variable 'realData' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/nuebar_signif.C:48]: (style) Variable 'fake2018' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/nuebar_signif.C:62]: (style) Unused variable: expts
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/nuebar_signif.C:66]: (style) Variable 'th23' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/nuebar_signif.C:66]: (style) Variable 'dmsq' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/nuebar_signif.C:66]: (style) Variable 'dcp' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/sensitivity2018.C:467] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/sensitivity2018.C:466]: (style) Finding the same code in an 'if' and related 'else' branch is suspicious and might indicate a cut and paste or logic error. Please examine this code carefully to determine if it is correct.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/sensitivity2018.C:429]: (style) The scope of the variable 'id' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/sensitivity2018.C:429]: (style) The scope of the variable 'revid' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/sensitivity2018.C:142]: (style) Unused variable: hRock
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/FitandFC/sensitivity2018.C:196]: (style) Variable 'livetime' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/OtherBlessed/bin_composition_pie_chart.C:119]: (style) Variable 'canPie' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/OtherBlessed/bin_composition_pie_chart.C:178]: (style) Variable 'canBars' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/OtherBlessed/bin_composition_pie_chart.C:244]: (style) Variable 'canMosaic' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/OtherBlessed/bin_composition_pie_chart.C:289]: (style) Variable 'labelsplit' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/OtherBlessed/make_extrap_figure.C:141] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/OtherBlessed/make_extrap_figure.C:155]: (performance) Variable 'h_reco_ext_fd' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/OtherBlessed/make_extrap_figure.C:142] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/OtherBlessed/make_extrap_figure.C:156]: (performance) Variable 'h_reco_mc_fd' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/OtherBlessed/nueBkgEMComposition.C:78]: (style) Variable 'lt' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/Support/make_nue_pidtuning.C:91]: (style) Variable 'hcos' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/Support/make_nue_pidtuning.C:135]: (style) Variable 'can' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/Support/make_nue_pidtuning.C:221]: (style) Variable 'sig3' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/Support/make_nue_pidtuning.C:222]: (style) Variable 'tot3' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/Support/nue_data_mc_validation.C:140]: (style) Variable 'tempname' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/Support/nue_data_mc_validation.C:40]: (performance) Parameter 'beamMode' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/Support/nue_data_mc_validation.C:41]: (performance) Parameter 'predFileName' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/Support/plot_nd_spectra_2018.C:64]: (style) The scope of the variable 'tempmc' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/Support/plot_nd_spectra_2018.C:65]: (style) The scope of the variable 'tempdecomp' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/Support/plot_nd_spectra_2018.C:105]: (style) Variable 'c' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/Support/plot_nd_spectra_2018.C:123]: (style) Variable 'labels' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/Support/plot_nd_spectra_2018.C:202]: (style) Variable 'norm' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/SystPlots/syst_table_fit.C:74]: (style) Unused variable: data
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/SystPlots/syst_table_fit.C:295]: (style) Variable 'range' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/SystPlots/syst_table_fit.C:320]: (style) Unused variable: c
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/SystPlots/systematics_summary_from_pred_interp.C:239]: (style) Variable 'cSig' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/SystPlots/systematics_summary_from_pred_interp.C:246]: (style) Variable 'cSig2' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/SystPlots/systematics_summary_from_pred_interp.C:253]: (style) Variable 'cBkg' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/SystPlots/systematics_summary_from_pred_interp.C:260]: (style) Variable 'cBkg2' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/WrongSign/calculateWrongSignNue.C:466]: (style) Variable 'rotBetaXFSProtonLoCVN' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/WrongSign/calculateWrongSignNue.C:507]: (style) Variable 'rotBetaXCVNProngLoCVN' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/WrongSign/calculateWrongSignNue.C:548]: (style) Variable 'rotBetaXBDT3LoCVN' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/WrongSign/calculateWrongSignNue.C:630]: (style) Variable 'rotBetaXFSProtonHiCVN' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/WrongSign/calculateWrongSignNue.C:671]: (style) Variable 'rotBetaXCVNProngHiCVN' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/WrongSign/calculateWrongSignNue.C:712]: (style) Variable 'rotBetaXBDT3HiCVN' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/WrongSign/calculateWrongSignNumuQ1.C:694]: (style) The scope of the variable 'cNumuErrorEst' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/WrongSign/calculateWrongSignNumuQ1.C:695]: (style) The scope of the variable 'errorScaleTerm' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/WrongSign/calculateWrongSignNumuQ1.C:182]: (style) Variable 'nueModes' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/WrongSign/calculateWrongSignNumuQ1.C:410]: (style) Variable 'maxYmu' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/WrongSign/calculateWrongSignNumuQ1.C:562]: (style) Variable 'rotBetaXFSProtonNumu' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/WrongSign/calculateWrongSignNumuQ1.C:599]: (style) Variable 'rotBetaXCVNProngNumu' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/WrongSign/calculateWrongSignNumuQ1.C:636]: (style) Variable 'rotBetaXBDT3Numu' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/WrongSign/calculateWrongSignNumuQ1.C:820]: (style) Variable 'C21FSProtonNumu' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/WrongSign/calculateWrongSignNumuQ1.C:838]: (style) Variable 'C21BDT3Numu' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/WrongSign/calculateWrongSignNumuQ2.C:692]: (style) The scope of the variable 'cNumuErrorEst' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/WrongSign/calculateWrongSignNumuQ2.C:693]: (style) The scope of the variable 'errorScaleTerm' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/WrongSign/calculateWrongSignNumuQ2.C:182]: (style) Variable 'nueModes' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/WrongSign/calculateWrongSignNumuQ2.C:410]: (style) Variable 'maxYmu' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/WrongSign/calculateWrongSignNumuQ2.C:560]: (style) Variable 'rotBetaXFSProtonNumu' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/WrongSign/calculateWrongSignNumuQ2.C:597]: (style) Variable 'rotBetaXCVNProngNumu' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/WrongSign/calculateWrongSignNumuQ2.C:634]: (style) Variable 'rotBetaXBDT3Numu' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/WrongSign/calculateWrongSignNumuQ2.C:818]: (style) Variable 'C21FSProtonNumu' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/WrongSign/calculateWrongSignNumuQ2.C:836]: (style) Variable 'C21BDT3Numu' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/WrongSign/calculateWrongSignNumuQ3.C:692]: (style) The scope of the variable 'cNumuErrorEst' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/WrongSign/calculateWrongSignNumuQ3.C:693]: (style) The scope of the variable 'errorScaleTerm' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/WrongSign/calculateWrongSignNumuQ3.C:182]: (style) Variable 'nueModes' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/WrongSign/calculateWrongSignNumuQ3.C:410]: (style) Variable 'maxYmu' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/WrongSign/calculateWrongSignNumuQ3.C:560]: (style) Variable 'rotBetaXFSProtonNumu' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/WrongSign/calculateWrongSignNumuQ3.C:597]: (style) Variable 'rotBetaXCVNProngNumu' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/WrongSign/calculateWrongSignNumuQ3.C:634]: (style) Variable 'rotBetaXBDT3Numu' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/WrongSign/calculateWrongSignNumuQ3.C:818]: (style) Variable 'C21FSProtonNumu' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/WrongSign/calculateWrongSignNumuQ3.C:836]: (style) Variable 'C21BDT3Numu' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/WrongSign/calculateWrongSignNumuQ4.C:692]: (style) The scope of the variable 'cNumuErrorEst' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/WrongSign/calculateWrongSignNumuQ4.C:693]: (style) The scope of the variable 'errorScaleTerm' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/WrongSign/calculateWrongSignNumuQ4.C:182]: (style) Variable 'nueModes' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/WrongSign/calculateWrongSignNumuQ4.C:410]: (style) Variable 'maxYmu' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/WrongSign/calculateWrongSignNumuQ4.C:560]: (style) Variable 'rotBetaXFSProtonNumu' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/WrongSign/calculateWrongSignNumuQ4.C:597]: (style) Variable 'rotBetaXCVNProngNumu' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/WrongSign/calculateWrongSignNumuQ4.C:634]: (style) Variable 'rotBetaXBDT3Numu' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/WrongSign/calculateWrongSignNumuQ4.C:818]: (style) Variable 'C21FSProtonNumu' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/WrongSign/calculateWrongSignNumuQ4.C:836]: (style) Variable 'C21BDT3Numu' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/WrongSign/plotWrongSignFraction.C:98]: (style) The scope of the variable 'multiverseNueMerge' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/nova_official_data_release.C:275]: (style) Variable 'empty' is not assigned a value.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/nova_official_data_release.C:385]: (style) Variable 'pcXH' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/nova_official_data_release.C:280]: (error) Uninitialized variable: empty
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/reach/sensitivity_tools.h:126] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/reach/sensitivity_tools.h:126]: (style) Finding the same code in an 'if' and related 'else' branch is suspicious and might indicate a cut and paste or logic error. Please examine this code carefully to determine if it is correct.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/reach/sensitivity_tools.h:127] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/reach/sensitivity_tools.h:127]: (style) Finding the same code in an 'if' and related 'else' branch is suspicious and might indicate a cut and paste or logic error. Please examine this code carefully to determine if it is correct.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/reach/fake_future_data.C:71]: (style) Variable 'th23' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/reach/fake_future_data.C:71]: (style) Variable 'dmsq' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/reach/fake_future_data.C:71]: (style) Variable 'dcp' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/reach/jointsensitivity.C:92]: (style) Variable 'fitvars' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/reach/monoprob.C:140]: (style) The scope of the variable 'daterr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/reach/monoprob.C:40]: (style) Variable 'ssth23' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/reach/reach_2018_dCPfractions.C:347]: (error) syntax error
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/sideband/fd_plot.C:595]: (style) Suspicious expression. Boolean result is used in bitwise operation. The operator '!' and the comparison operators have higher precedence than bitwise operators. It is recommended that the expression is clarified with parentheses.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/sideband/fd_plot.C:120]: (style) Variable 'color4' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/sideband/fd_plot.C:202]: (style) Unused variable: hBeambkg
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/sideband/fd_plot.C:213]: (style) Unused variable: hFakeData
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/sideband/fd_plot.C:256]: (style) Variable 'useScales' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2018/sideband/fd_plot.C:384]: (style) Variable 'n' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/BoxOpening/get_numu_data_histogram.C:58]: (style) Unused variable: data
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/generate_fc_binlists.C:66]: (style) Variable 'hierstr' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/goodness_of_fit.C:80]: (style) The scope of the variable 'th23' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/goodness_of_fit.C:80]: (style) The scope of the variable 'dmsq' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/goodness_of_fit.C:80]: (style) The scope of the variable 'dcp' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/joint_fit_2019_loader_tools.h:71]: (style) Suspicious expression. Boolean result is used in bitwise operation. The operator '!' and the comparison operators have higher precedence than bitwise operators. It is recommended that the expression is clarified with parentheses.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/joint_fit_2019_style_tools.h:48]: (style) Variable 'minX' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/joint_fit_2019_style_tools.h:49]: (style) Variable 'maxX' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/joint_fit_2019_style_tools.h:50]: (style) Variable 'widthX' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/joint_fit_2019_style_tools.h:51]: (style) Variable 'minY' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/joint_fit_2019_style_tools.h:52]: (style) Variable 'maxY' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/joint_fit_2019_style_tools.h:53]: (style) Variable 'widthY' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/goodness_of_fit.C:74]: (style) Unused variable: data
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/goodness_of_fit.C:75]: (style) Unused variable: data_numu_only
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/goodness_of_fit.C:77]: (style) Unused variable: expts_numu_only
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/goodness_of_fit.C:81]: (style) Variable 'th23' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/goodness_of_fit.C:81]: (style) Variable 'dmsq' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/goodness_of_fit.C:81]: (style) Variable 'dcp' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/goodness_of_fit.C:348]: (style) Variable 'th23_old_seeds' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/joint_fit_2018_contours.C:556]: (style) The scope of the variable 'official' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/joint_fit_2018_contours.C:704]: (style) The scope of the variable 'delta' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/joint_fit_2018_contours.C:704]: (style) The scope of the variable 'th23' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/joint_fit_2018_contours.C:704]: (style) The scope of the variable 'dmsq32' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/joint_fit_2018_contours.C:704]: (style) The scope of the variable 'th13' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/joint_fit_2018_contours.C:54]: (style) Variable 'white' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/joint_fit_2018_contours.C:304]: (style) Variable 'seedShifts' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/joint_fit_2018_contours.C:326]: (style) Unused variable: numu_pre_seedLOIH
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/joint_fit_2018_contours.C:326]: (style) Unused variable: numu_pre_seedUOIH
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/joint_fit_2018_contours.C:326]: (style) Unused variable: dmsq_numu_pre_seedNH
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/joint_fit_2018_contours.C:326]: (style) Unused variable: dmsq_numu_pre_seedIH
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/joint_fit_2018_contours.C:558]: (style) Variable 'official' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/joint_fit_2018_contours.C:848]: (style) Variable 'isSysts' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/joint_fit_2018_contours.C:849]: (style) Variable 'isFccorr' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/joint_fit_2018_contours_OLD.C:556]: (style) The scope of the variable 'official' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/joint_fit_2018_contours_OLD.C:704]: (style) The scope of the variable 'delta' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/joint_fit_2018_contours_OLD.C:704]: (style) The scope of the variable 'th23' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/joint_fit_2018_contours_OLD.C:704]: (style) The scope of the variable 'dmsq32' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/joint_fit_2018_contours_OLD.C:704]: (style) The scope of the variable 'th13' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/joint_fit_2018_contours_OLD.C:54]: (style) Variable 'white' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/joint_fit_2018_contours_OLD.C:304]: (style) Variable 'seedShifts' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/joint_fit_2018_contours_OLD.C:326]: (style) Unused variable: numu_pre_seedLOIH
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/joint_fit_2018_contours_OLD.C:326]: (style) Unused variable: numu_pre_seedUOIH
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/joint_fit_2018_contours_OLD.C:326]: (style) Unused variable: dmsq_numu_pre_seedNH
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/joint_fit_2018_contours_OLD.C:326]: (style) Unused variable: dmsq_numu_pre_seedIH
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/joint_fit_2018_contours_OLD.C:558]: (style) Variable 'official' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/joint_fit_2018_contours_OLD.C:848]: (style) Variable 'isSysts' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/joint_fit_2018_contours_OLD.C:849]: (style) Variable 'isFccorr' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/joint_fit_2018_slices.C:300]: (style) Variable 'pcXH' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/joint_fit_2018_slices.C:572]: (style) Unused variable: numu_pre_seedLOIH
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/joint_fit_2018_slices.C:572]: (style) Unused variable: numu_pre_seedUOIH
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/joint_fit_2018_slices.C:572]: (style) Unused variable: dmsq_numu_pre_seedNH
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/joint_fit_2018_slices.C:572]: (style) Unused variable: dmsq_numu_pre_seedIH
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/joint_fit_2018_slices.C:865]: (style) Variable 'minchi23' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/joint_fit_2018_slices_OLD.C:300]: (style) Variable 'pcXH' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/joint_fit_2018_slices_OLD.C:572]: (style) Unused variable: numu_pre_seedLOIH
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/joint_fit_2018_slices_OLD.C:572]: (style) Unused variable: numu_pre_seedUOIH
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/joint_fit_2018_slices_OLD.C:572]: (style) Unused variable: dmsq_numu_pre_seedNH
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/joint_fit_2018_slices_OLD.C:572]: (style) Unused variable: dmsq_numu_pre_seedIH
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/joint_fit_2018_slices_OLD.C:865]: (style) Variable 'minchi23' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/joint_fit_2019_bestfit.C:246]: (style) Unused variable: numu_pre_seedLOIH
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/joint_fit_2019_bestfit.C:246]: (style) Unused variable: numu_pre_seedUOIH
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/joint_fit_2019_bestfit.C:246]: (style) Unused variable: dmsq_numu_pre_seedNH
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/joint_fit_2019_bestfit.C:246]: (style) Unused variable: dmsq_numu_pre_seedIH
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/joint_fit_2019_contours.C:544]: (style) The scope of the variable 'official' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/joint_fit_2019_contours.C:689]: (style) The scope of the variable 'delta' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/joint_fit_2019_contours.C:689]: (style) The scope of the variable 'th23' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/joint_fit_2019_contours.C:689]: (style) The scope of the variable 'dmsq32' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/joint_fit_2019_contours.C:689]: (style) The scope of the variable 'th13' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/joint_fit_2019_contours.C:55]: (style) Variable 'white' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/joint_fit_2019_contours.C:292]: (style) Variable 'seedShifts' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/joint_fit_2019_contours.C:308]: (style) Unused variable: numu_pre_seedLOIH
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/joint_fit_2019_contours.C:308]: (style) Unused variable: numu_pre_seedUOIH
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/joint_fit_2019_contours.C:308]: (style) Unused variable: dmsq_numu_pre_seedNH
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/joint_fit_2019_contours.C:308]: (style) Unused variable: dmsq_numu_pre_seedIH
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/joint_fit_2019_contours.C:546]: (style) Variable 'official' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/joint_fit_2019_contours.C:833]: (style) Variable 'isSysts' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/joint_fit_2019_contours.C:834]: (style) Variable 'isFccorr' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/joint_fit_2019_slices.C:318]: (style) Unused variable: numu_pre_seedLOIH
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/joint_fit_2019_slices.C:318]: (style) Unused variable: numu_pre_seedUOIH
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/joint_fit_2019_slices.C:318]: (style) Unused variable: dmsq_numu_pre_seedNH
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/joint_fit_2019_slices.C:318]: (style) Unused variable: dmsq_numu_pre_seedIH
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/joint_fit_2019_slices.C:615]: (style) Variable 'minchi23' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/joint_fit_2019_slices.C:1097]: (style) Variable 'pcXH' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_fc_mass_and_oct_nersc_2018.C:243]: (style) Variable 'mock_integral_fhc' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_fc_mass_and_oct_nersc_2018.C:244]: (style) Variable 'mock_integral_rhc' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_fc_mass_and_oct_nersc_2018.C:311]: (style) Variable 'minchi_numu' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_fc_mass_and_oct_nersc_2018.C:349]: (style) Variable 'bestchi' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_fc_mass_and_oct_nersc_2019.C:246]: (style) Variable 'mock_integral_fhc' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_fc_mass_and_oct_nersc_2019.C:247]: (style) Variable 'mock_integral_rhc' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_fc_mass_and_oct_nersc_2019.C:312]: (style) Variable 'minchi_numu' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_fc_mass_and_oct_nersc_2019.C:350]: (style) Variable 'bestchi' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_fc_mh_nersc_2019.C:155]: (style) Variable 'best_bin_low' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_fc_mh_nersc_2019.C:156]: (style) Variable 'best_bin_high' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_fc_mh_nersc_2019.C:157]: (style) Variable 'widthX' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_fc_mh_nersc_2019.C:256]: (style) Variable 'mock_integral_fhc' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_fc_mh_nersc_2019.C:257]: (style) Variable 'mock_integral_rhc' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_fc_mh_nersc_2019.C:326]: (style) Variable 'minchi_numu' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_fc_oct_nersc_2018.C:233]: (style) Variable 'mock_integral_fhc' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_fc_oct_nersc_2018.C:234]: (style) Variable 'mock_integral_rhc' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_fc_oct_nersc_2018.C:302]: (style) Variable 'minchi_numu' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_fc_oct_nersc_2019.C:247]: (style) Variable 'mock_integral_fhc' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_fc_oct_nersc_2019.C:248]: (style) Variable 'mock_integral_rhc' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_fc_oct_nersc_2019.C:316]: (style) Variable 'minchi_numu' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_fc_slices_nersc_2018_stats.C:639] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_fc_slices_nersc_2018_stats.C:652]: (performance) Variable 'bestdelta' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_fc_slices_nersc_2018_stats.C:640] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_fc_slices_nersc_2018_stats.C:653]: (performance) Variable 'bestssth23' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_fc_slices_nersc_2018_stats.C:641] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_fc_slices_nersc_2018_stats.C:654]: (performance) Variable 'bestth13' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_fc_slices_nersc_2018_stats.C:642] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_fc_slices_nersc_2018_stats.C:655]: (performance) Variable 'bestdmsq' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_fc_slices_nersc_2018_stats.C:258]: (style) The scope of the variable 'bin' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_fc_slices_nersc_2018_stats.C:233]: (style) Variable 'minX' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_fc_slices_nersc_2018_stats.C:234]: (style) Variable 'maxX' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_fc_slices_nersc_2018_stats.C:235]: (style) Variable 'widthX' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_fc_slices_nersc_2018_stats.C:413]: (style) Variable 'mock_integral' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_fc_slices_nersc_2018_stats.C:537]: (style) Variable 'minchi_numu' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_fc_slices_nersc_2019.C:638] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_fc_slices_nersc_2019.C:651]: (performance) Variable 'bestdelta' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_fc_slices_nersc_2019.C:639] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_fc_slices_nersc_2019.C:652]: (performance) Variable 'bestssth23' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_fc_slices_nersc_2019.C:640] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_fc_slices_nersc_2019.C:653]: (performance) Variable 'bestth13' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_fc_slices_nersc_2019.C:641] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_fc_slices_nersc_2019.C:654]: (performance) Variable 'bestdmsq' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_fc_slices_nersc_2019.C:257]: (style) The scope of the variable 'bin' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_fc_slices_nersc_2019.C:232]: (style) Variable 'minX' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_fc_slices_nersc_2019.C:233]: (style) Variable 'maxX' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_fc_slices_nersc_2019.C:234]: (style) Variable 'widthX' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_fc_slices_nersc_2019.C:412]: (style) Variable 'mock_integral' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_fc_slices_nersc_2019.C:536]: (style) Variable 'minchi_numu' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_fc_surfaces_nersc_2018_stats.C:248]: (style) The scope of the variable 'bin' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_fc_surfaces_nersc_2018_stats.C:113]: (style) Variable 'NERSC' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_fc_surfaces_nersc_2018_stats.C:237]: (style) Variable 'minX' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_fc_surfaces_nersc_2018_stats.C:238]: (style) Variable 'maxX' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_fc_surfaces_nersc_2018_stats.C:239]: (style) Variable 'minY' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_fc_surfaces_nersc_2018_stats.C:240]: (style) Variable 'maxY' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_fc_surfaces_nersc_2018_stats.C:387]: (style) Variable 'mock_integral' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_fc_surfaces_nersc_2018_stats.C:463]: (style) Variable 'minchi_numu' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_fc_surfaces_nersc_2019.C:84]: (style) The scope of the variable 'j' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_fc_surfaces_nersc_2019.C:260]: (style) The scope of the variable 'bin' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_fc_surfaces_nersc_2019.C:70]: (style) Variable 'stat' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_fc_surfaces_nersc_2019.C:125]: (style) Variable 'NERSC' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_fc_surfaces_nersc_2019.C:249]: (style) Variable 'minX' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_fc_surfaces_nersc_2019.C:250]: (style) Variable 'maxX' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_fc_surfaces_nersc_2019.C:251]: (style) Variable 'minY' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_fc_surfaces_nersc_2019.C:252]: (style) Variable 'maxY' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_fc_surfaces_nersc_2019.C:400]: (style) Variable 'mock_integral' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_fc_surfaces_nersc_2019.C:476]: (style) Variable 'minchi_numu' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_mass_and_oct_fc_input_2019.C:73]: (style) Variable 'joint' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_mass_and_oct_fc_input_2019.C:159]: (style) Variable 'POT' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_mass_and_oct_fc_input_2019.C:172]: (style) Variable 'POT' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_mass_and_oct_fc_input_2019.C:234]: (style) Variable 'seedShifts' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_mass_and_oct_fc_input_2019.C:247]: (style) Unused variable: numu_pre_seedLOIH
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_mass_and_oct_fc_input_2019.C:247]: (style) Unused variable: numu_pre_seedUOIH
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_mass_and_oct_fc_input_2019.C:247]: (style) Unused variable: dmsq_numu_pre_seedNH
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_mass_and_oct_fc_input_2019.C:247]: (style) Unused variable: dmsq_numu_pre_seedIH
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/make_mass_and_oct_fc_input_2019.C:252]: (style) Variable 'minchi_numu' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/nuebar_signif.C:65]: (style) The scope of the variable 'th23' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/nuebar_signif.C:65]: (style) The scope of the variable 'dmsq' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/nuebar_signif.C:65]: (style) The scope of the variable 'dcp' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/nuebar_signif.C:47]: (style) Variable 'realData' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/nuebar_signif.C:48]: (style) Variable 'fake2018' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/nuebar_signif.C:62]: (style) Unused variable: expts
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/nuebar_signif.C:66]: (style) Variable 'th23' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/nuebar_signif.C:66]: (style) Variable 'dmsq' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/nuebar_signif.C:66]: (style) Variable 'dcp' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/sensitivity2018.C:467] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/sensitivity2018.C:466]: (style) Finding the same code in an 'if' and related 'else' branch is suspicious and might indicate a cut and paste or logic error. Please examine this code carefully to determine if it is correct.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/sensitivity2018.C:429]: (style) The scope of the variable 'id' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/sensitivity2018.C:429]: (style) The scope of the variable 'revid' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/sensitivity2018.C:142]: (style) Unused variable: hRock
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/FitandFC/sensitivity2018.C:196]: (style) Variable 'livetime' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/MREplots/mre_blessed.C:78]: (style) Unused variable: tt
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/MREplots/mre_blessed.C:426]: (style) Variable 'color' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/MREplots/mre_blessed.C:474]: (style) Unused variable: tt
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/MREplots/mre_blessed.C:557]: (style) Variable 'color' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/MREplots/mre_blessed.C:599]: (style) Unused variable: tt
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/MREplots/mre_comp_split.C:244]: (style) Unused variable: tt
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/MREplots/mre_comp_split.C:245]: (style) Unused variable: tt2
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/MREplots/mre_comp_split.C:246]: (style) Unused variable: l2
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/SystPlots/syst_table_fit.C:84]: (style) Unused variable: data
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/SystPlots/syst_table_fit.C:302]: (style) Variable 'range' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/SystPlots/syst_table_fit.C:326]: (style) Unused variable: c
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/WrongSign/plotNumuWrongSign.C:82]: (style) The scope of the variable 'hMaxYE2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/WrongSign/plotNumuWrongSign.C:85]: (style) The scope of the variable 'hMinXE' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/WrongSign/plotNumuWrongSign.C:86]: (style) The scope of the variable 'hMaxXE' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/WrongSign/plotNumuWrongSign.C:93]: (style) The scope of the variable 'hMinXE2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/WrongSign/plotNumuWrongSign.C:94]: (style) The scope of the variable 'hMaxXE2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/WrongSign/plotNumuWrongSign.C:95]: (style) The scope of the variable 'nBinXE2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/WrongSign/plotNumuWrongSign.C:100]: (style) The scope of the variable 'multiverseNueMerge' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/WrongSign/plotNumuWrongSign.C:75]: (style) Variable 'nBinYE' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/WrongSign/plotNumuWrongSign.C:81]: (style) Variable 'hMinYE2' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/WrongSign/plotNumuWrongSign.C:134]: (style) Variable 'hMaxYE2' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/WrongSign/plotNumuWrongSign.C:83]: (style) Variable 'nBinYE2' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/WrongSign/plotNumuWrongSign.C:129]: (style) Variable 'hMaxXE' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/WrongSign/plotNumuWrongSign.C:87]: (style) Variable 'nBinXE' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/WrongSign/plotNumuWrongSign.C:136]: (style) Variable 'hMaxXE2' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/WrongSign/plotNumuWrongSign.C:150]: (style) Variable 'yVal' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/WrongSign/plotNumuWrongSign.C:194]: (style) Variable 'RSCC' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/WrongSign/plotNumuWrongSign.C:195]: (style) Variable 'RSNC' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/WrongSign/plotNumuWrongSign.C:210]: (style) Variable 'denomsq' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/FirstAna/contours.C:369]: (style) Variable 'bestDeltaIH' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/FirstAna/contours.C:638]: (style) Variable 'fcIH' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/FirstAna/make_fc_zero_rej.C:113]: (style) Variable 'trueChi' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/FirstAna/make_fc_zero_rej.C:120]: (style) Variable 'bestChi' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/FirstAna/nue_pid_effs.C:467]: (warning) The expression 'true' is of type 'bool' and it is compared against an integer value.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/FirstAna/plot_paper_nd_datamc.C:28]: (performance) Parameter 'fname' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/FirstAna/plot_paper_nd_datamc.C:107]: (performance) Parameter 'ldrNDData' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/FirstAna/plot_paper_nd_datamc.C:107]: (performance) Parameter 'ldrNDMC' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/FirstAna/plot_paper_nd_datamc.C:107]: (performance) Parameter 'fname' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/FirstAna/plot_sensitivity.C:702]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a%b?c:d'' should be written as either ''(a%b)?c:d'' or ''a%(b?c:d)''.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/FirstAna/plot_sensitivity.C:720]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a%b?c:d'' should be written as either ''(a%b)?c:d'' or ''a%(b?c:d)''.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/FirstAna/plot_sensitivity.C:721]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a%b?c:d'' should be written as either ''(a%b)?c:d'' or ''a%(b?c:d)''.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/FirstAna/plot_sensitivity.C:801]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a%b?c:d'' should be written as either ''(a%b)?c:d'' or ''a%(b?c:d)''.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/FirstAna/plot_sensitivity.C:802]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a%b?c:d'' should be written as either ''(a%b)?c:d'' or ''a%(b?c:d)''.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/FirstAna/selection/nue_selection_crosscheck.C:79]: (style) Variable 'hmeantimebg' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/FirstAna/selection/nue_selection_cutflow.C:74]: (style) Variable 'hmeantimebg' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/FirstAna/selection/nue_selection_pid.C:35]: (style) Variable 'ncosraw' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/FirstAna/selection/nue_selection_pid.C:36]: (style) Variable 'dcosscale' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/FirstAna/selection/nue_selection_pid_opt.C:158]: (style) The scope of the variable 'bestnann' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/FirstAna/selection/nue_selection_pid_opt.C:261]: (style) The scope of the variable 'bestnlem' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/FirstAna/selection/nue_selection_pid_opt.C:363]: (style) The scope of the variable 'bestnrvp' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/FirstAna/selection/nue_selection_pid_opt.C:86]: (style) Variable 'hmeantimecos' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/FirstAna/selection/nue_selection_pid_opt.C:88]: (style) Variable 'hmeantimebg' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/FirstAna/selection/nue_selection_pid_opt.C:181]: (style) Variable 'bestnann' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/FirstAna/selection/nue_selection_pid_opt.C:284]: (style) Variable 'bestnlem' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/FirstAna/selection/nue_selection_pid_opt.C:386]: (style) Variable 'bestnrvp' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/FirstAna/selection/nue_selection_pid_stk.C:35]: (style) Variable 'ncosraw' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/FirstAna/selection/nue_selection_pid_stk.C:36]: (style) Variable 'dcosscale' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/FirstAna/selection/nue_selection_selvars.C:35]: (style) Variable 'ncosraw' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/FirstAna/selection/nue_selection_selvars.C:36]: (style) Variable 'dcosscale' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/FirstAna/sensitivity.C:448]: (warning) The expression 'true' is of type 'bool' and it is compared against an integer value.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/FirstAna/sensitivity.C:562]: (warning) The expression 'true' is of type 'bool' and it is compared against an integer value.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/FirstAna/sensitivity.C:1107]: (warning) The expression 'true' is of type 'bool' and it is compared against an integer value.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/FirstAna/sensitivity.C:994]: (style) Variable 'f' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/FirstAna/sensitivity.C:854]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a%b?c:d'' should be written as either ''(a%b)?c:d'' or ''a%(b?c:d)''.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/FirstAna/sensitivity.C:855]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a%b?c:d'' should be written as either ''(a%b)?c:d'' or ''a%(b?c:d)''.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/FirstAna/slice_overlay.C:153]: (style) Variable 'bestDeltaIH' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/SecondAna/draw_plots_util.h:156]: (style) Variable 'xrange' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/SecondAna/draw_plots_util.h:215]: (style) Variable 'gax1' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/SecondAna/draw_plots_util.h:216]: (style) Variable 'gax2' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/SecondAna/contours.C:89]: (style) Variable 'innN' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/SecondAna/contours.C:134]: (style) Variable 'outfile' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/SecondAna/contours.C:231]: (style) Variable 'outFile' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/SecondAna/decompPlots/draw_decomp_plots.C:606]: (style) Variable 'ndpot' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/SecondAna/decompPlots/draw_decomp_plots.C:607]: (style) Unused variable: calc
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/SecondAna/decompPlots/make_files_for_decomp_plots.C:33]: (style) Variable 'extrmc' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/SecondAna/joint_fit_make_experiments.C:80]: (style) Variable 'hSpectrumP1' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/SecondAna/joint_fit_make_experiments.C:82]: (style) Variable 'hSpectrumP3b' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/SecondAna/joint_fit_make_experiments.C:105]: (style) Variable 'hcosp1' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/SecondAna/joint_fit_make_fc_slice.C:188]: (style) The scope of the variable 'sinsqth23' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/SecondAna/make_fc_surf.C:68]: (style) Variable 'innN' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/SecondAna/make_nueFDprediction.C:64]: (style) Variable 'NDData' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/SecondAna/make_nueFDprediction.C:65]: (style) Unused variable: NDMC_nons
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/SecondAna/make_nueFDprediction.C:66]: (style) Unused variable: FDMC_nons
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/SecondAna/make_nueFDprediction.C:67]: (style) Unused variable: FDMC_swap
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/SecondAna/make_nueFDprediction.C:68]: (style) Unused variable: FDMC_taus
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/SecondAna/monoprob_plot.C:57]: (style) The scope of the variable 'daterr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/SecondAna/nue_pid_effs.C:593]: (style) The scope of the variable 'x1' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/SecondAna/nue_pid_effs.C:594]: (style) The scope of the variable 'y1' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/SecondAna/nue_pid_effs.C:595]: (style) The scope of the variable 'x2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/SecondAna/nue_pid_effs.C:596]: (style) The scope of the variable 'y2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/SecondAna/nue_pid_effs.C:662]: (warning) The expression 'true' is of type 'bool' and it is compared against an integer value.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/SecondAna/nue_pid_effs.C:599]: (style) Variable 'x1' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/SecondAna/nue_pid_effs.C:600]: (style) Variable 'y1' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/SecondAna/nue_pid_effs.C:601]: (style) Variable 'x2' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/SecondAna/nue_pid_effs.C:602]: (style) Variable 'y2' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/SecondAna/plot_datamcpred.C:116]: (style) Variable 'labels' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/SecondAna/plot_datamcpred.C:117]: (style) Variable 'nominIdx' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/SecondAna/plot_datamcpred.C:137]: (style) Variable 'dpred' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/SecondAna/plot_datamcpred.C:198]: (style) Variable 'hTau_no' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/SecondAna/plot_nueFDprediction_systematics.C:67]: (style) The scope of the variable 'nominIdx' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/SecondAna/print_nueFDprediction_table.C:98]: (style) Variable 'pidaxes' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/SecondAna/print_sa_fd_cut_tables.C:173]: (style) Unused variable: name
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/SecondAna/print_sa_fd_cut_tables.C:72]: (performance) Parameter 'pred_basename' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/SecondAna/print_sa_fd_cut_tables.C:73]: (performance) Parameter 'spec_basename' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/SecondAna/print_sa_fd_cut_tables.C:74]: (performance) Parameter 'fname' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/SecondAna/slices_paper.C:32]: (style) Variable 'data' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/SecondAna/systematics_table_from_pred_interp.C:91]: (style) Unused variable: errs
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/SecondAna/systematics_table_from_preds.C:107]: (style) Variable 'histSysts' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/SecondAna/systematics_table_from_preds.C:157]: (style) Unused variable: errs
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/cosrejbdt/make_dst_cosrejbdttrain.C:214]: (style) Variable 'inel' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/cosrejbdt/make_dst_cosrejbdttrain.C:218]: (style) Variable 'hpp' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/cosrejbdt/make_dst_cosrejbdttrain.C:226]: (style) Variable 'wshw' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/cosrejbdt/make_dst_cosrejbdttrain.C:233]: (style) Variable 'lidcos' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/cosrejbdt/make_dst_cosrejbdttrain.C:221]: (style) Variable 'nshw' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/cosrejbdt/make_dst_cosrejbdttrain.C:240]: (style) Variable 'starty' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/cosrejbdt/make_dst_cosrejbdttrain.C:247]: (style) Variable 'stopy' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/cosrejbdt/make_dst_cosrejbdttrain.C:251]: (style) Variable 'cosang' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/cosrejbdt/make_dst_cosrejbdttrain.C:268]: (style) Variable 'maxy' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/cosrejbdt/make_dst_cosrejbdttrain.C:256]: (style) Variable 'efrac' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/cosrejbdt/make_dst_cosrejbdttrain.C:260]: (style) Variable 'nplfr' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/cosrejbdt/make_dst_cosrejbdttrain.C:281]: (style) Variable 'lid' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/cosrejbdt/make_dst_cosrejbdttrain.C:274]: (style) Variable 'nhit' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/cosrejbdt/make_dst_cosrejbdttrain.C:275]: (style) Variable 'calE' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/cosrejbdt/make_dst_cosrejbdttrain.C:278]: (style) Variable 'cvne' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/cosrejbdt/make_dst_cosrejbdttrain.C:280]: (style) Variable 'remid' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/cosrejbdt/make_dst_cosrejbdttrain.C:279]: (style) Variable 'cvnsse' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/cosrejbdt/make_dst_cosrejbdttrain.C:285]: (style) Variable 'cvnprelec' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/cosrejbdt/make_dst_cosrejbdttrain.C:291]: (style) Variable 'cvnprmuon' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/cosrejbdt/make_dst_cosrejbdttrain.C:297]: (style) Variable 'lidmulll' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/cosrejbdt/make_dst_cosrejbdttrain.C:303]: (style) Variable 'lidelll' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/cosrejbdt/make_dst_cosrejbdttrain.C:309]: (style) Variable 'lidemullt' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/cosrejbdt/make_dst_cosrejbdttrain.C:315]: (style) Variable 'lidemulll' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/cosrejbdt/make_dst_cosrejbdttrain.C:322]: (style) Variable 'prongl' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/cosrejbdt/make_dst_cosrejbdttrain.C:325]: (style) Variable 'sparseassym' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/cosrejbdt/make_dst_cosrejbdttrain.C:341]: (style) Variable 'costhetaZ' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/cosrejbdt/make_dst_cosrejbdttrain.C:344]: (style) Variable 'ptp' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/cosrejbdt/make_dst_cosrejbdttrain.C:345]: (style) Variable 'pxp' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/cosrejbdt/make_dst_cosrejbdttrain.C:346]: (style) Variable 'pyp' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/cosrejbdt/make_dst_cosrejbdttrain.C:353]: (style) Variable 'vtxx' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/cosrejbdt/make_dst_cosrejbdttrain.C:354]: (style) Variable 'vtxy' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/cosrejbdt/make_dst_cosrejbdttrain.C:355]: (style) Variable 'vtxz' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/cosrejbdt/make_dst_cosrejbdttrain.C:333]: (style) Variable 'xyhit_assym' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/cosrejbdt/make_dst_cosrejbdttrain.C:359]: (style) Variable 'disttop' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/cosrejbdt/make_dst_cosrejbdttrain.C:378]: (style) Variable 'woscdumb' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/cosrejbdt/testfom.C:120]: (style) The scope of the variable 'curcvn' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/cosrejbdt/testfom.C:120]: (style) The scope of the variable 'curbdt' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/cosrejbdt/testfom.C:16]: (style) Unused variable: PxP
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/cosrejbdt/testfom.C:16]: (style) Unused variable: PyP
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/cosrejbdt/testfom.C:17]: (style) Unused variable: vtxx
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/cosrejbdt/testfom.C:17]: (style) Unused variable: vtxy
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/cosrejbdt/testfom.C:17]: (style) Unused variable: vtxz
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/cosrejbdt/testfom.C:17]: (style) Unused variable: prongl
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/cosrejbdt/testfom.C:18]: (style) Unused variable: DistFront
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/cosrejbdt/testfom.C:18]: (style) Unused variable: DistEast
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/cosrejbdt/testfom.C:18]: (style) Unused variable: DistWest
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/cosrejbdt/testfom.C:18]: (style) Unused variable: DistBottom
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/cosrejbdt/testfom.C:18]: (style) Unused variable: DistBack
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/cosrejbdt/testfom.C:19]: (style) Unused variable: lid
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/cosrejbdt/testfom.C:19]: (style) Unused variable: starty
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/cosrejbdt/testfom.C:19]: (style) Unused variable: stopy
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/cosrejbdt/testfom.C:20]: (style) Unused variable: inelast
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/cosrejbdt/testfom.C:20]: (style) Unused variable: hitsperpl
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/cosrejbdt/testfom.C:20]: (style) Unused variable: numofshow
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/cosrejbdt/testfom.C:20]: (style) Unused variable: widthofshow
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/cosrejbdt/testfom.C:20]: (style) Unused variable: costheta
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/cosrejbdt/testfom.C:20]: (style) Unused variable: remid
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/cosrejbdt/testfom.C:20]: (style) Unused variable: cosang
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/cosrejbdt/testfom.C:20]: (style) Unused variable: efrac
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/cosrejbdt/testfom.C:20]: (style) Unused variable: nplfr
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/cosrejbdt/testfom.C:24]: (style) Unused variable: issig
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/cosrejbdt/testfom.C:24]: (style) Unused variable: isbb
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/cosrejbdt/testfom.C:154]: (style) Variable 'curbdt' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/cosrejbdt/testfom.C:120]: (style) Unused variable: curfom
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/pi0xcheck/pi0_xcheck.C:420]: (style) Variable 'deadscale' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/pi0xcheck/plot_pi0_xcheck.C:69] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/pi0xcheck/plot_pi0_xcheck.C:72]: (performance) Variable 'potstr' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/pi0xcheck/plot_pi0_xcheck.C:208]: (performance) Parameter 'inFile' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/reach/futureSig_getNueNumuSyst.C:155] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/reach/futureSig_getNueNumuSyst.C:159]: (performance) Variable 'fname' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/reach/futureSig_getNueNumuSyst.C:156] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/reach/futureSig_getNueNumuSyst.C:160]: (performance) Variable 'fswap' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/reach/futureSig_systs.h:49]: (performance) When an object of a class is created, the constructors of all member variables are called consecutively in the order the variables are declared, even if you don't explicitly write them to the initialization list. You could avoid assigning 'fShortName' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/reach/futureSig_systs.h:50]: (performance) When an object of a class is created, the constructors of all member variables are called consecutively in the order the variables are declared, even if you don't explicitly write them to the initialization list. You could avoid assigning 'fLatexName' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/reach/futureSig_systs.h:64]: (performance) When an object of a class is created, the constructors of all member variables are called consecutively in the order the variables are declared, even if you don't explicitly write them to the initialization list. You could avoid assigning 'fShortName' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/reach/futureSig_systs.h:65]: (performance) When an object of a class is created, the constructors of all member variables are called consecutively in the order the variables are declared, even if you don't explicitly write them to the initialization list. You could avoid assigning 'fLatexName' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/reach/futureSig_reach_singlePOTcombo_syst.C:61]: (performance) Parameter 'version' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/reach/futureSig_reach_singlePOTcombo_syst.C:62]: (performance) Parameter 'fakeHieDelta' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/reach/futureSig_reach_singlePOTcombo_syst.C:63]: (performance) Parameter 'fakeOctant' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/reach/futureSig_reach_singlePOTcombo_syst.C:64]: (performance) Parameter 'systType' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/reach/futureSig_reach_singlePOTcombo_syst.C:65]: (performance) Parameter 'potBaseID' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/reach/futureSig_reach_singlePOTcombo_syst.C:66]: (performance) Parameter 'potCompID' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/reach/futureSig_reach_singlePOTcombo_syst.C:447]: (performance) Parameter 'PID' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/reach/futureSig_reach_singlePOTcombo_syst.C:447]: (performance) Parameter 'fakeHieDelta' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/reach/futureSig_reach_singlePOTcombo_syst.C:448]: (performance) Parameter 'potID' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/reach/futureSig_reach_singlePOTcombo_syst.C:449]: (performance) Parameter 'systType' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/reach/futureSig_reach_singlePOTcombo_syst.C:449]: (performance) Parameter 'version' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/reach/prob_biprob_pedagogical.C:580]: (style) Variable 'P' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/reach/prob_biprob_pedagogical.C:581]: (style) Variable 'Pbar' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/systs/genie/genie_check_var.C:36]: (style) Unused variable: fn_pc_univs
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/systs/genie/genie_contours.C:112]: (style) Variable 'potFD' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/systs/genie/genie_contours.C:142]: (style) Variable 'potFD' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/systs/genie/genie_contours.C:172]: (style) Variable 'potFD_fhc' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/systs/genie/genie_contours.C:173]: (style) Variable 'potFD_rhc' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/systs/genie/genie_contours.C:200]: (style) Unused variable: pc_fhc_sup_shifts
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/systs/genie/genie_contours.C:201]: (style) Unused variable: pc_fhc_ws_sup_shifts
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/systs/genie/genie_contours.C:160]: (performance) Parameter 'shift' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/systs/genie/genie_contours.C:186]: (performance) Parameter 'shift' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/systs/genie/genie_preds_make.C:86]: (style) Unused variable: kPPFXFluxUnivWgt
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/systs/genie/genie_syst_pca.C:274]: (style) Variable 'nbins' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/systs/genie/genie_plot_utils.h:117]: (error) syntax error
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/systs/genie/genie_syst_universe.C:72]: (style) The scope of the variable 'center' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/systs/genie/genie_syst_universe.C:63]: (style) Variable 'top' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/systs/ppfx/ppfx_plot_utils.h:23]: (style) Variable 'top' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/systs/ppfx/ppfx_plot_utils.h:44]: (style) Variable 'start' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/systs/ppfx/ppfx_plot_utils.h:93]: (style) Variable 'start_x' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/systs/ppfx/ppfx_plot_utils.h:99]: (style) Variable 'start_y' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/systs/ppfx/ppfx_check_var.C:82]: (style) Unused variable: fn_pc_univs
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/systs/ppfx/ppfx_check_var.C:103]: (style) Variable 'fn_pc_univ' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/systs/ppfx/ppfx_check_var.C:125]: (style) Variable 'univ_fnrms' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/systs/ppfx/ppfx_check_var.C:126]: (style) Variable 'pc_fnrms' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/systs/ppfx/ppfx_make_systs.C:103]: (style) Variable 'systs' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/systs/ppfx/ppfx_syst_pca_fn.C:403]: (style) Variable 'nbins' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/systs/validation/nue_data_mc_validation.C:23]: (performance) Parameter 'predFileName' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/systs/validation/nue_data_mc_validation.C:24]: (performance) Parameter 'ldrData' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/systs/validation/nue_data_mc_validation.C:24]: (performance) Parameter 'ldrMC' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/systs/validation/nue_fd_mc_validation.C:32]: (performance) Parameter 'predFileName' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/systs/validation/nue_fd_mc_validation.C:33]: (performance) Parameter 'ldrNonSwap' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/systs/validation/nue_fd_mc_validation.C:33]: (performance) Parameter 'ldrFluxSwap' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/systs/validation/nue_fd_mc_validation.C:34]: (performance) Parameter 'ldrTauSwap' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/systs/validation/numu_data_mc_validation.C:221]: (performance) Parameter 'predFileName' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/systs/validation/numu_data_mc_validation.C:223]: (performance) Parameter 'ldrData' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/systs/validation/numu_data_mc_validation.C:224]: (performance) Parameter 'ldrMC' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/systs/xsec/temp_draw_plots_util.h:158]: (style) Variable 'xrange' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/systs/xsec/temp_draw_plots_util.h:217]: (style) Variable 'gax1' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/systs/xsec/temp_draw_plots_util.h:218]: (style) Variable 'gax2' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/systs/xsec/xsec_extrap_plots.C:242]: (style) Unused variable: dir_pred_pl
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/systs/xsec/xsec_extrap_plots.C:242]: (style) Unused variable: dir_pred_mi
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/systs/xsec/xsec_extrap_plots.C:231]: (warning) The compared strings, '"weight...' and '"no_weig..', are always unequal. Therefore the comparison is unnecessary and looks suspicious.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/NuSPlotFunctions.h:225]: (style) Variable 'potStr' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/NuSPlotFunctions.h:234]: (style) Variable 'hNutau' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/NuSPlotFunctions.h:305]: (style) Variable 'error' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/NuSPlotFunctions.h:458]: (style) Variable 'potStr' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/NuSPlotFunctions.h:530]: (style) Variable 'maxvalstack' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/NuSPlotFunctions.h:223]: (error) Buffer is accessed out of bounds.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/Supporting_plots/DataMCComp_Comparison/ComparisonPlots_Data.C:93]: (performance) Either inefficient or wrong usage of string::find(). string::compare() will be faster if string::find's result is compared with 0, because it will not scan the whole string. If your intention is to check that there are no findings in the string, you should compare with std::string::npos.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/Supporting_plots/DataMCComp_Comparison/ComparisonPlots_Data.C:94]: (performance) Either inefficient or wrong usage of string::find(). string::compare() will be faster if string::find's result is compared with 0, because it will not scan the whole string. If your intention is to check that there are no findings in the string, you should compare with std::string::npos.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/Supporting_plots/DataMCComp_Comparison/ComparisonPlots_Data.C:95]: (performance) Either inefficient or wrong usage of string::find(). string::compare() will be faster if string::find's result is compared with 0, because it will not scan the whole string. If your intention is to check that there are no findings in the string, you should compare with std::string::npos.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/Supporting_plots/DataMCComp_Comparison/ComparisonPlots_Data.C:96]: (performance) Either inefficient or wrong usage of string::find(). string::compare() will be faster if string::find's result is compared with 0, because it will not scan the whole string. If your intention is to check that there are no findings in the string, you should compare with std::string::npos.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/Supporting_plots/FD_timing_peak/drawPreds.C:69]: (style) Variable 'h1' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/ToyPValue/Toy_analyses.C:220]: (style) The scope of the variable 'nPoints' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/ToyPValue/Toy_analyses.C:127]: (style) Variable 'fSA' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/ToyPValue/Toy_analyses.C:128]: (style) Variable 'fA17' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/ToyPValue/Toy_analyses.C:129]: (style) Variable 'fBoth' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/ToyPValue/Toy_analyses.C:358]: (style) Variable 'LLSA' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/ToyPValue/Toy_analyses.C:369]: (style) Variable 'LLA17' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/ToyPValue/Toy_analyses.C:357]: (style) Variable 'dmsq32SA' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/ToyPValue/Toy_analyses.C:368]: (style) Variable 'dmsq32A17' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/ToyPValue/Toy_analyses.C:356]: (style) Variable 'ssth23SA' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/ToyPValue/Toy_analyses.C:367]: (style) Variable 'ssth23A17' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/ToyPValue/Toy_analyses.C:487]: (style) Defensive programming: The variable 'k' is used as an array index before it is check that is within limits. This can mean that the array might be accessed out of bounds. Reorder conditions such as '(a[i] && i < 10)' to '(i < 10 && a[i])'. That way the array will not be accessed if the index is out of limits.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/getContProf.C:66] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/getContProf.C:72]: (performance) Variable 'SampleName' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/getContProf.C:78]: (style) Variable 'ana' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/getContProf.C:81]: (style) Variable 'inDir' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/getContProf.C:82]: (style) Variable 'inName' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/getContProf.C:95]: (style) Variable 'potData' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/getContProf.C:96]: (style) Variable 'liveData' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/getContProf.C:118]: (style) Variable 'CosmicsHistName' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/getContProf.C:119]: (style) Variable 'cosmicsName' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/getContProf_Sensitivity.C:66] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/getContProf_Sensitivity.C:72]: (performance) Variable 'SampleName' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/getContProf_Sensitivity.C:78]: (style) Variable 'ana' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/getContProf_Sensitivity.C:81]: (style) Variable 'inDir' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/getContProf_Sensitivity.C:82]: (style) Variable 'inName' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/getContProf_Sensitivity.C:90]: (style) Variable 'FD_Quant1' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/getContProf_Sensitivity.C:91]: (style) Variable 'FD_Quant2' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/getContProf_Sensitivity.C:92]: (style) Variable 'FD_Quant3' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/getContProf_Sensitivity.C:93]: (style) Variable 'FD_Quant4' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/getContProf_Sensitivity.C:95]: (style) Variable 'potData' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/getContProf_Sensitivity.C:96]: (style) Variable 'liveData' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/getContProf_Sensitivity.C:118]: (style) Variable 'CosmicsHistName' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/getContProf_Sensitivity.C:119]: (style) Variable 'cosmicsName' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/getData.C:71]: (style) Variable 'CutName' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/getData.C:91]: (style) Variable 'EnergyName' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/getData.C:109]: (style) Variable 'BinName' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/getData.C:110]: (style) Variable 'BinNameDir' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/getSensitivity.C:110] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/getSensitivity.C:111]: (performance) Variable 'systs' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/hadEFrac_nd_data_mc_systs.C:246]: (style) Variable 'leg' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/hadEFrac_nd_data_mc_systs.C:310]: (style) Variable 'leg' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/hadEFrac_nd_data_mc_systs.C:454]: (style) Variable 'dataMeanError' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/hadEFrac_nd_data_mc_systs.C:456]: (style) Variable 'MCMeanError' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/hadEFrac_nd_data_mc_systs.C:198]: (performance) Parameter 'BinWeight' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/hadEFrac_nd_data_mc_systs.C:317]: (performance) Parameter 'dataLegendTitle' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/hadEFrac_nd_data_mc_systs.C:318]: (performance) Parameter 'extraLegendTitle' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/hadEFrac_nd_data_mc_systs.C:344]: (performance) Parameter 'dataLegendTitle' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/hadEFrac_nd_data_mc_systs.C:345]: (performance) Parameter 'extraLegendTitle' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/hadEFrac_nd_data_mc_systs.C:222]: (error) Dangerous usage of c_str(). The c_str() return value is only valid until its string is deleted.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/makePredTables.C:54]: (style) Variable 'inDirData' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/makePredTables.C:55]: (style) Variable 'inDir' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/makePredTables.C:56]: (style) Variable 'inName' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/makePredTables.C:65]: (style) Variable 'CosmicsHistName' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/makePredTables.C:62]: (style) Variable 'cosmicsName' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/makePredTables.C:118]: (style) Variable 'fout' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/makeSystTable_reduced.C:250] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/makeSystTable_reduced.C:268]: (performance) Variable 'xplot' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/makeSystTable_reduced.C:251] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/makeSystTable_reduced.C:283]: (performance) Variable 'yplot' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/makeSystTable_reduced.C:476] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/makeSystTable_reduced.C:477]: (performance) Variable 'range' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/makeSystTable_reduced.C:557] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/makeSystTable_reduced.C:558]: (performance) Variable 'range' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/makeSystTable_reduced.C:368] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/makeSystTable_reduced.C:369]: (performance) Variable 'range' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/makeSystTable_reduced.C:435] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/makeSystTable_reduced.C:436]: (performance) Variable 'range' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/makeSystTable_reduced.C:238]: (style) Variable 'oscpar' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/makeSystTable_reduced.C:558]: (style) Variable 'range' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/makeSystTable_reduced.C:303]: (style) Variable 'statmsq' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/tools.h:327] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/tools.h:328]: (performance) Variable 'entry' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/plotContProf.C:22] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/plotContProf.C:25]: (performance) Variable 'axes' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/tools.h:345]: (style) Variable 'mirror' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/plotContProf.C:50]: (style) Variable 'onlycf' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/plotContProf.C:96]: (style) Variable 'stylesurf' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/plotDataPred.C:486]: (style) The scope of the variable 'cxunosc' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/plotDataPred.C:486]: (style) The scope of the variable 'cyunosc' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/plotDataPred.C:487]: (style) The scope of the variable 'cxunoscr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/plotDataPred.C:487]: (style) The scope of the variable 'cyunoscr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/plotDataPred.C:488]: (style) The scope of the variable 'cxchi' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/plotDataPred.C:488]: (style) The scope of the variable 'cychi' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/plotDataPred.C:21]: (style) Variable 'CalcName' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/plotDataPred.C:42]: (style) Variable 'inDir' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/plotDataPred.C:43]: (style) Variable 'inName' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/plotDataPred.C:84]: (style) Variable 'CosmicsHistName' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/plotDataPred.C:81]: (style) Variable 'cosmicsName' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/plotDataPred.C:140]: (style) Variable 'fout' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/plotDataPred.C:700]: (style) Variable 'sumchi' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/plotDataPred_SplitCanvas.C:11]: (style) Variable 'preliminary' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/plotDataPred_SplitCanvas.C:17]: (style) Variable 'CalcName' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/plotDataPred_SplitCanvas.C:30]: (style) Variable 'inDir' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/plotDataPred_SplitCanvas.C:31]: (style) Variable 'inName' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/plotDataPred_SplitCanvas.C:83]: (style) Variable 'CosmicsHistName' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2017/plotDataPred_SplitCanvas.C:80]: (style) Variable 'cosmicsName' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/numu_tools.h:106] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/numu_tools.h:107]: (performance) Variable 'entry' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/numu_tools.h:126] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/numu_tools.h:127]: (performance) Variable 'entry' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/make_starplots.C:119]: (style) Variable 'ddata_name' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/make_starplots.C:122]: (style) Variable 'fpred_name' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/make_starplots.C:123]: (style) Variable 'fpred_suffix' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/make_starplots.C:148]: (style) Variable 'cosmics' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/make_starplots.C:53]: (performance) Parameter 'anaName' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/make_surfprof.C:116]: (style) Variable 'dpred_name_one' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/make_surfprof.C:115]: (style) Variable 'dpred_name_two' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/make_surfprof.C:20]: (performance) Parameter 'anaName' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/make_surfprof.C:21]: (performance) Parameter 'extrapName' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/make_surfprof_sensitivity.C:103]: (style) Variable 'ddata_name' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/make_surfprof_sensitivity.C:106]: (style) Variable 'fpred_name' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/make_surfprof_sensitivity.C:107]: (style) Variable 'fpred_suffix' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/make_surfprof_sensitivity.C:38]: (performance) Parameter 'anaName' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/make_surfprof_sensitivity.C:39]: (performance) Parameter 'extrapName' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/plot_cont_expfriends.C:22]: (style) The scope of the variable 'numuonly' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/plot_cont_expfriends.C:20]: (style) Variable 'preliminary' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/plot_cont_expfriends.C:179]: (style) Variable 'numuonly' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/plot_cont_expfriends.C:23]: (style) Variable 'onlycf' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/plot_cont_expfriends.C:123]: (style) Unused variable: xval
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/plot_cont_expfriends.C:123]: (style) Unused variable: yval
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/plot_contprof.C:302] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/plot_contprof.C:303]: (performance) Variable 'entry' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/plot_contprof.C:367] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/plot_contprof.C:368]: (performance) Variable 'entry' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/plot_contprof.C:432] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/plot_contprof.C:433]: (performance) Variable 'entry' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/plot_contprof.C:492] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/plot_contprof.C:493]: (performance) Variable 'entry' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/plot_contprof.C:554] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/plot_contprof.C:555]: (performance) Variable 'entry' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/plot_contprof.C:677] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/plot_contprof.C:678]: (performance) Variable 'entry' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/plot_contprof.C:56]: (style) The scope of the variable 'deltaminprof' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/plot_contprof.C:50]: (style) Variable 'systName2' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/plot_contprof.C:62]: (style) Variable 'deltaminprof' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/plot_contprof.C:863]: (style) Variable 'numuonly' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/plot_contprof.C:77]: (style) Variable 'onlycf' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/plot_contprof.C:124]: (style) Variable 'color_sigmaFHC' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/plot_contprof.C:125]: (style) Variable 'color_sigmaRHC' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/plot_contprof.C:126]: (style) Variable 'color_sigma' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/plot_contprof.C:127]: (style) Variable 'styleline_sigma' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/plot_contprof.C:129]: (style) Variable 'stylesurf' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/plot_contprof.C:131]: (style) Variable 'marker' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/plot_contprof.C:144]: (style) Variable 'elements' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/plot_contprof.C:165]: (style) Unused variable: sin
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/plot_contprof.C:165]: (style) Unused variable: delta
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/plot_contprof.C:210]: (style) Variable 'rejmaxmix_nova' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/plot_contprof.C:232]: (style) Variable 'idName' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/plot_datapredictions.C:403]: (style) The scope of the variable 'cx' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/plot_datapredictions.C:403]: (style) The scope of the variable 'cy' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/plot_datapredictions.C:81]: (style) Variable 'preliminary' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/plot_datapredictions.C:124]: (style) Variable 'fpred_name' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/plot_datapredictions.C:125]: (style) Variable 'fpred_suffix' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/plot_datapredictions.C:141]: (style) Variable 'cosmics' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/plot_datapredictions.C:193]: (style) Variable 'systSize' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/plot_predictions.C:386]: (style) The scope of the variable 'cx' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/plot_predictions.C:386]: (style) The scope of the variable 'cy' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/plot_predictions.C:64]: (style) Variable 'preliminary' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/plot_predictions.C:107]: (style) Variable 'fpred_name' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/plot_predictions.C:108]: (style) Variable 'fpred_suffix' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/plot_predictions.C:124]: (style) Variable 'cosmics' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/plot_predictions.C:176]: (style) Variable 'systSize' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/plot_rationoosc.C:180] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/plot_rationoosc.C:181]: (performance) Variable 'systs' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/plot_rationoosc.C:69]: (style) Variable 'preliminary' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/plot_rationoosc.C:112]: (style) Variable 'fpred_name' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/plot_rationoosc.C:113]: (style) Variable 'fpred_suffix' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/plot_rationoosc.C:129]: (style) Variable 'cosmics' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/plot_rationoosc.C:182]: (style) Variable 'systSize' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/plot_shifts.C:90]: (style) Variable 'fpred_name' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/plot_shifts.C:91]: (style) Variable 'fpred_suffix' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/plot_shifts.C:129]: (style) Variable 'cosmics' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/BoxOpening/plot_shifts.C:39]: (performance) Parameter 'anaName' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/ND_DataMC_Comp_Systs_header.h:130]: (style) Variable 'leg' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/ND_DataMC_Comp_Systs_header.h:150]: (style) Variable 'leg' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/ND_DataMC_Comp_Systs_header.h:290]: (style) Unused variable: expo
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/ND_DataMC_Comp_Systs_header.h:295]: (style) Variable 'dataMeanError' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/ND_DataMC_Comp_Systs_header.h:298]: (style) Variable 'MCMeanError' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/ND_DataMC_Comp_Systs_header.h:96]: (performance) Parameter 'BinWeight' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/SupportingStudies/ComparisonPlots/DoThePlots.C:669] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/SupportingStudies/ComparisonPlots/DoThePlots.C:669]: (style) Finding the same code in an 'if' and related 'else' branch is suspicious and might indicate a cut and paste or logic error. Please examine this code carefully to determine if it is correct.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/SupportingStudies/ComparisonPlots/DoThePlots.C:670] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/SupportingStudies/ComparisonPlots/DoThePlots.C:670]: (style) Finding the same code in an 'if' and related 'else' branch is suspicious and might indicate a cut and paste or logic error. Please examine this code carefully to determine if it is correct.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/SupportingStudies/ComparisonPlots/DoThePlots.C:555]: (style) Variable 'posup' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/SupportingStudies/ComparisonPlots/DoThePlots.C:556]: (style) Variable 'posdn' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/SupportingStudies/ComparisonPlots/DoThePlots.C:557]: (style) Variable 'errup0' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/SupportingStudies/ComparisonPlots/DoThePlots.C:558]: (style) Variable 'errdn0' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/SupportingStudies/ComparisonPlots/SystematicComp.C:156]: (style) Variable 'TSwap' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/SupportingStudies/EnergyContainment/EnergyCont_macro.C:97]: (performance) The conversion from const char* as returned by c_str() to std::string creates an unnecessary string copy. Solve that by directly passing the string.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/SupportingStudies/EnergyContainment/EnergyCont_plot.C:920] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/SupportingStudies/EnergyContainment/EnergyCont_plot.C:924]: (performance) Variable 'NXbins' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/SupportingStudies/EnergyContainment/EnergyCont_plot.C:921] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/SupportingStudies/EnergyContainment/EnergyCont_plot.C:925]: (performance) Variable 'NYbins' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/SupportingStudies/EnergyContainment/EnergyCont_plot.C:1018]: (style) The scope of the variable 'pop10' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/SupportingStudies/EnergyContainment/EnergyCont_plot.C:1019]: (style) The scope of the variable 'pop50' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/SupportingStudies/EnergyContainment/EnergyCont_plot.C:1020]: (style) The scope of the variable 'pop90' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/SupportingStudies/EnergyContainment/EnergyCont_plot.C:268]: (style) Variable 'files' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/SupportingStudies/EnergyContainment/EnergyCont_plot.C:1044]: (style) Variable 'pop10' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/SupportingStudies/EnergyContainment/EnergyCont_plot.C:1039]: (style) Variable 'pop50' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/SupportingStudies/EnergyContainment/EnergyCont_plot.C:1034]: (style) Variable 'pop90' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/SupportingStudies/NeutronEnergy/neutKEsyst.C:101]: (performance) The conversion from const char* as returned by c_str() to std::string creates an unnecessary string copy. Solve that by directly passing the string.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/SupportingStudies/NeutronEnergy/neutKEsyst_plot.C:260]: (style) Variable 'NBins' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/SupportingStudies/NeutronEnergy/neutKEsyst_plot.C:304]: (style) Variable 'NBins' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/SupportingStudies/NeutronEnergy/neutKEsyst_plot.C:478]: (style) Variable 'mean' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/SupportingStudies/NeutronEnergy/neutKEsyst_plot.C:481]: (style) Variable 'fwhm' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/SupportingStudies/NeutronEnergy/neutronE_macro.C:112]: (style) Variable 'NumEBins' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/SupportingStudies/NeutronEnergy/neutronE_macro.C:101]: (performance) The conversion from const char* as returned by c_str() to std::string creates an unnecessary string copy. Solve that by directly passing the string.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/SupportingStudies/NeutronEnergy/neutronE_plot.C:339]: (style) Variable 'mean' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/SupportingStudies/NeutronEnergy/neutronE_plot.C:342]: (style) Variable 'fwhm' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/SupportingStudies/Resolution/resolution2018.C:210]: (style) Unused variable: decomps
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/SupportingStudies/Resolution/resolution2018.C:351]: (style) Variable 'fdpot' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/SupportingStudies/Resolution/resolution2018.C:367]: (style) Variable 'normalized' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/SupportingStudies/Resolution/resolution2018.C:368]: (style) Variable 'ids' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/SupportingStudies/Resolution/resolution2018.C:877]: (performance) Parameter 'labels' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/SupportingStudies/Resolution/resolution2018.C:1053]: (performance) Parameter 'idc' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/SupportingStudies/Resolution/resolution2018.C:1054]: (performance) Parameter 'idl' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/SupportingStudies/Resolution/resolution2018.C:1098]: (performance) Parameter 'idc' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/SupportingStudies/Resolution/resolution2018.C:1099]: (performance) Parameter 'idl' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/SupportingStudies/Resolution/resolution2018.C:150]: (performance) The conversion from const char* as returned by c_str() to std::string creates an unnecessary string copy. Solve that by directly passing the string.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/SupportingStudies/SpillTimeStudies/MuonCatcherComp_ProdPlots.C:269]: (style) Variable 'RMS_Nom' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/SupportingStudies/SpillTimeStudies/MuonCatcherComp_ProdPlots.C:270]: (style) Variable 'Int_Nom' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/SupportingStudies/SpillTimeStudies/ProduceCompPlots.C:291]: (style) Variable 'RMS_Nom' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/SupportingStudies/SpillTimeStudies/ProduceCompPlots.C:292]: (style) Variable 'Int_Nom' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/SupportingStudies/SpillTimeStudies/ProduceCompPlots.C:651]: (style) Variable 'MuonEnMean' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/SupportingStudies/TestExtrapolationPlots/drawSystsShiftingNDdata.C:214]: (style) Variable 'ymax' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Utilities/func/ROOTHelpers.h:24]: (performance) Parameter 'exts' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/energyResolution.C:43]: (style) Variable 'livetime' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/energyResolution.C:35]: (style) Unused variable: numifiles
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/energyResolution.C:35]: (style) Unused variable: cosfiles
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/estimate_cosmics.C:36]: (style) Variable 'pot' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/estimate_cosmics.C:28]: (style) Variable 'period_numi' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/estimate_cosmics.C:67]: (style) Variable 'livetime_cosmic' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/estimate_cosmics_triggeronly.C:36]: (style) Variable 'pot' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/estimate_cosmics_triggeronly.C:28]: (style) Variable 'period_numi' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/estimate_cosmics_triggeronly.C:44]: (style) Variable 'pot_sample' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/estimate_cosmics_triggeronly.C:45]: (style) Variable 'livetime_sample' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/estimate_cosmics_triggeronly.C:68]: (style) Unused variable: hcount_cosmic
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/forFNEX/saveFDMCHists.C:91]: (style) Variable 'preliminary' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/makeSystTable.C:84] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/makeSystTable.C:85]: (performance) Variable 'xplot' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/makeSystTable.C:96] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/makeSystTable.C:97]: (performance) Variable 'xplot' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/makeSystTable.C:109] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/makeSystTable.C:110]: (performance) Variable 'yplot' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/makeSystTable.C:121] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/makeSystTable.C:122]: (performance) Variable 'yplot' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/makeSystTable.C:410]: (style) Variable 'totSysts' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/makeSystTable.C:411]: (style) Variable 'noSysts' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/makeSystTable.C:523]: (style) Variable 'oscpar' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/makeSystTable.C:524]: (style) Variable 'oscparDM' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/makeSystTable.C:525]: (style) Variable 'oscparSin' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/makeSystTable.C:536]: (style) Variable 'range' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/makeSystTable.C:537]: (style) Variable 'stattheta' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/makeSystTable.C:537]: (style) Variable 'statmsq' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/makeSystTable.C:538]: (style) Unused variable: hi
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/makeSystTable.C:538]: (style) Unused variable: low
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/makeSystTable.C:539]: (style) Unused variable: hix
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/makeSystTable.C:539]: (style) Unused variable: lowx
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/makeSystTable.C:616]: (style) Variable 'mapSystWithDcpUnc' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/makeSystTable.C:617]: (style) Variable 'mapTotalWithDcpUnc' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/makeSystTable_reduced.C:216] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/makeSystTable_reduced.C:234]: (performance) Variable 'xplot' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/makeSystTable_reduced.C:217] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/makeSystTable_reduced.C:248]: (performance) Variable 'yplot' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/makeSystTable_reduced.C:443] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/makeSystTable_reduced.C:444]: (performance) Variable 'range' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/makeSystTable_reduced.C:529] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/makeSystTable_reduced.C:530]: (performance) Variable 'range' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/makeSystTable_reduced.C:331] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/makeSystTable_reduced.C:332]: (performance) Variable 'range' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/makeSystTable_reduced.C:397] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/makeSystTable_reduced.C:398]: (performance) Variable 'range' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/makeSystTable_reduced.C:204]: (style) Variable 'oscpar' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/makeSystTable_reduced.C:530]: (style) Variable 'range' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/makeSystTable_reduced.C:267]: (style) Variable 'statmsq' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/make_prediction_extrap.C:63]: (style) Variable 'OutDir' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/make_prediction_noextrap.C:65]: (style) Variable 'OutDir' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/make_prediction_tables.C:120]: (style) Variable 'ddata_name' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/make_prediction_tables.C:124]: (style) Variable 'fpred_name' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/make_prediction_tables.C:125]: (style) Variable 'fpred_suffix' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/make_prediction_tables.C:154]: (style) Variable 'systName' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/make_surfprof_sensitivity.C:105]: (style) Variable 'fpred_name' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/make_surfprof_sensitivity.C:106]: (style) Variable 'fpred_suffix' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/make_surfprof_sensitivity.C:33]: (performance) Parameter 'anaName' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/make_surfprof_sensitivity.C:34]: (performance) Parameter 'extrapName' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/plot_predictions.C:444]: (style) The scope of the variable 'cx' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/plot_predictions.C:444]: (style) The scope of the variable 'cy' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/plot_predictions.C:94]: (style) Variable 'preliminary' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/plot_predictions.C:142]: (style) Variable 'ddata_name' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/plot_predictions.C:145]: (style) Variable 'fpred_name' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/plot_predictions.C:146]: (style) Variable 'fpred_suffix' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/plot_predictions.C:150]: (style) Variable 'cosmics' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/plot_predictions.C:203]: (style) Unused variable: predictions
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/plot_predictions.C:205]: (style) Variable 'systSize' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/predEventCountWithSystError.C:46]: (style) Unused variable: upShifts
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2018/predEventCountWithSystError.C:47]: (style) Unused variable: downShifts
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2019/BoxOpening/Plotting_CompareMultipleContours.C:116] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2019/BoxOpening/Plotting_CompareMultipleContours.C:112]: (style) Finding the same code in an 'if' and related 'else' branch is suspicious and might indicate a cut and paste or logic error. Please examine this code carefully to determine if it is correct.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2019/BoxOpening/Plotting_CompareMultipleContours.C:178]: (style) Variable 'degenInfo' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2019/BoxOpening/Plotting_CompareMultipleContours.C:192]: (style) Variable 'f_Out' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2019/BoxOpening/Plotting_DataAndPrediction.C:361]: (style) The scope of the variable 'ent_Band' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2019/BoxOpening/Plotting_DataAndPrediction.C:466]: (style) The scope of the variable 'ent_Band_NoOsc' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2019/BoxOpening/Plotting_DataAndPrediction.C:658]: (style) The scope of the variable 'ent_Band_Rat' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2019/BoxOpening/Plotting_DataAndPrediction.C:94]: (style) Variable 'fcosmics_name_one' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2019/BoxOpening/Plotting_DataAndPrediction.C:340]: (style) Variable 'maxQ' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2019/BoxOpening/Plotting_DataAndPrediction.C:465]: (style) Unused variable: ent_Band
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2019/BoxOpening/Plotting_DataAndPrediction.C:633]: (style) Variable 'scaleFactor' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2019/BoxOpening/Plotting_DataSpectra_MakeTGraph.C:27]: (style) Variable 'f_Out' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2019/BoxOpening/get_eventslist.C:35]: (style) Variable 'nuevars' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2019/BoxOpening/plot_cont_expfriends.C:99]: (style) Unused variable: xval
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2019/BoxOpening/plot_cont_expfriends.C:99]: (style) Unused variable: yval
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2019/SupportingStudies/ComparisonPlots/MakeThePlots.C:517] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2019/SupportingStudies/ComparisonPlots/MakeThePlots.C:516]: (style) Finding the same code in an 'if' and related 'else' branch is suspicious and might indicate a cut and paste or logic error. Please examine this code carefully to determine if it is correct.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2019/SupportingStudies/ComparisonPlots/MakeThePlots.C:533] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2019/SupportingStudies/ComparisonPlots/MakeThePlots.C:533]: (style) Finding the same code in an 'if' and related 'else' branch is suspicious and might indicate a cut and paste or logic error. Please examine this code carefully to determine if it is correct.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2019/SupportingStudies/ComparisonPlots/MakeThePlots.C:534] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2019/SupportingStudies/ComparisonPlots/MakeThePlots.C:534]: (style) Finding the same code in an 'if' and related 'else' branch is suspicious and might indicate a cut and paste or logic error. Please examine this code carefully to determine if it is correct.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2019/SupportingStudies/ComparisonPlots/MakeThePlots.C:598] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2019/SupportingStudies/ComparisonPlots/MakeThePlots.C:597]: (style) Finding the same code in an 'if' and related 'else' branch is suspicious and might indicate a cut and paste or logic error. Please examine this code carefully to determine if it is correct.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2019/SupportingStudies/ComparisonPlots/MakeThePlots.C:609] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2019/SupportingStudies/ComparisonPlots/MakeThePlots.C:608]: (style) Finding the same code in an 'if' and related 'else' branch is suspicious and might indicate a cut and paste or logic error. Please examine this code carefully to determine if it is correct.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2019/SupportingStudies/ComparisonPlots/MakeThePlots.C:259]: (style) Variable 'AxisPOT' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2019/SupportingStudies/ComparisonPlots/MakeThePlots.C:425]: (style) Variable 'posup' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2019/SupportingStudies/ComparisonPlots/MakeThePlots.C:426]: (style) Variable 'posdn' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2019/SupportingStudies/ComparisonPlots/MakeThePlots.C:427]: (style) Variable 'errup0' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2019/SupportingStudies/ComparisonPlots/MakeThePlots.C:428]: (style) Variable 'errdn0' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2019/SupportingStudies/ND_data_checks/Analyse_Data2DataComp.C:152]: (warning) %d in format string (no. 1) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2019/SupportingStudies/ND_data_checks/Analyse_Data2DataComp.C:152]: (warning) %d in format string (no. 2) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2019/SupportingStudies/ND_data_checks/Analyse_Data2DataComp.C:152]: (warning) %d in format string (no. 3) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2019/SupportingStudies/ND_data_checks/Analyse_Data2DataComp_HigherEnergyCuts.C:191]: (warning) %d in format string (no. 1) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2019/SupportingStudies/ND_data_checks/Analyse_Data2DataComp_HigherEnergyCuts.C:191]: (warning) %d in format string (no. 2) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2019/SupportingStudies/ND_data_checks/Analyse_Data2DataComp_HigherEnergyCuts.C:191]: (warning) %d in format string (no. 3) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2019/SupportingStudies/ND_data_checks/Plotting_Data2DataComp.C:93]: (warning) %d in format string (no. 1) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2019/SupportingStudies/ND_data_checks/Plotting_Data2DataComp.C:93]: (warning) %d in format string (no. 2) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2019/SupportingStudies/ND_data_checks/Plotting_Data2DataComp.C:95]: (warning) %d in format string (no. 1) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2019/SupportingStudies/ND_data_checks/Plotting_Data2DataComp.C:95]: (warning) %d in format string (no. 2) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2019/SupportingStudies/ND_data_checks/Plotting_Data2DataComp.C:140]: (warning) %d in format string (no. 1) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2019/SupportingStudies/ND_data_checks/Plotting_Data2DataComp.C:42]: (style) Variable 'fractionalError' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2019/SupportingStudies/ND_data_checks/Plotting_Data2DataComp_SingleCanvas.C:119]: (warning) %d in format string (no. 1) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2019/SupportingStudies/ND_data_checks/Plotting_Data2DataComp_SingleCanvas.C:119]: (warning) %d in format string (no. 2) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2019/SupportingStudies/ND_data_checks/Plotting_Data2DataComp_SingleCanvas.C:122]: (warning) %d in format string (no. 1) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2019/SupportingStudies/ND_data_checks/Plotting_Data2DataComp_SingleCanvas.C:122]: (warning) %d in format string (no. 2) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2019/SupportingStudies/ND_data_checks/Plotting_Data2DataComp_SingleCanvas.C:278]: (warning) %d in format string (no. 1) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/Analysis2019/SupportingStudies/ND_data_checks/Plotting_Data2DataComp_SingleCanvas.C:42]: (style) Variable 'fractionalError' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/FirstAnalysis/fa_fd_data_mc_systs.C:182]: (style) The scope of the variable 'ymax' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/FirstAnalysis/fa_nd_data_mc_systs.C:217]: (style) Variable 'leg' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/FirstAnalysis/fa_nd_data_mc_systs.C:270]: (style) Variable 'leg' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/FirstAnalysis/fa_nd_data_mc_systs.C:278]: (performance) Parameter 'dataLegendTitle' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/FirstAnalysis/fa_nd_data_mc_systs.C:279]: (performance) Parameter 'extraLegendTitle' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/FirstAnalysis/fa_nd_data_mc_systs.C:305]: (performance) Parameter 'dataLegendTitle' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/FirstAnalysis/fa_nd_data_mc_systs.C:306]: (performance) Parameter 'extraLegendTitle' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/FirstAnalysis/numu_eff_FA_full.C:18]: (style) Variable 'numusig' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/FirstAnalysis/plot_fa_results.C:779]: (style) Variable 'chi' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/FirstAnalysis/plot_fa_results.C:783]: (style) Variable 'chiInv' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/NuInt2017/drawSystsShiftingNDdata_updatedAna.C:134]: (style) Variable 'ymax' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/SA/get_sa_syst_mags.C:123]: (style) The scope of the variable 'potp1' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/SA/get_sa_syst_mags.C:124]: (style) The scope of the variable 'potp2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/SA/get_sa_syst_mags.C:125]: (style) The scope of the variable 'potp3' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/SA/get_sa_systs_mags_v2.C:125]: (style) The scope of the variable 'potp1' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/SA/get_sa_systs_mags_v2.C:126]: (style) The scope of the variable 'potp2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/SA/get_sa_systs_mags_v2.C:127]: (style) The scope of the variable 'potp3' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/SA/get_sa_systs_mags_v2.C:149]: (style) Variable 'theta' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/SA/get_sa_systs_mags_v2.C:255]: (style) Variable 'stattheta' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/SA/get_sa_systs_mags_v2.C:255]: (style) Variable 'statmsq' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/SA/make_fc_points.C:63]: (style) Variable 'hSpectrumP1' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/SA/make_fc_points.C:65]: (style) Variable 'hSpectrumP3b' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/SA/make_fc_points.C:95]: (style) Variable 'hcosp1' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/SA/plot_sa_results.C:119]: (style) Variable 'calcp1' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/SA/plot_sa_results.C:120]: (style) Variable 'calcp2' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/SA/plot_sa_results.C:121]: (style) Variable 'calcp3' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/SA/plot_sa_results.C:160]: (style) Variable 'hSpectrumP3b' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/SA/plot_sa_results.C:748]: (style) Variable 'chi' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/SA/plot_sa_results.C:996]: (style) Variable 'sumchi' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/SA/plot_sa_results_nodata.C:357]: (style) Variable 'chi' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/SA/plot_sa_results_nodata.C:360]: (style) Variable 'predstat' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/SA/sa_nd_data_mc_3plots.C:226]: (style) Variable 'leg' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/SA/sa_nd_data_mc_3plots.C:396]: (style) Variable 'top' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/SA/sa_nd_data_mc_3plots.C:159]: (error) Dangerous usage of c_str(). The c_str() return value is only valid until its string is deleted.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/SA/sa_nd_data_mc_systs.C:219]: (style) Variable 'leg' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/SA/sa_nd_data_mc_systs.C:273]: (style) Variable 'leg' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/SA/sa_nd_data_mc_systs.C:810]: (style) Variable 'hadE' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/SA/sa_nd_data_mc_systs.C:835]: (style) Variable 'numuE' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/SA/sa_nd_data_mc_systs.C:280]: (performance) Parameter 'dataLegendTitle' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/SA/sa_nd_data_mc_systs.C:281]: (performance) Parameter 'extraLegendTitle' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/SA/sa_nd_data_mc_systs.C:307]: (performance) Parameter 'dataLegendTitle' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/SA/sa_nd_data_mc_systs.C:308]: (performance) Parameter 'extraLegendTitle' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/runTwoSampleDecomp.C:50]: (style) Variable 'textSizeFac' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/runTwoSampleDecomp.C:52]: (style) Variable 'marginSize' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/runTwoSampleDecomp.C:84]: (style) Variable 'textsizeAl' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/runTwoSampleDecomp.C:81]: (style) Variable 'textsizeo' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/numu/runTwoSampleDecomp.C:177]: (style) Variable 'cOverlay' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Ana01/Ana01PaperPlot.C:152]: (style) Variable 'c' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Ana01/Ana01PaperPlotME.C:182]: (style) Variable 'c' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Ana01/AnaResultsSpectra.C:66]: (style) Variable 'labelEReco' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Ana01/CalcRWithSysts.C:50] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Ana01/CalcRWithSysts.C:57]: (performance) Variable 'r' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Ana01/DataVtxDistributionAna.C:50]: (style) Variable 'textLocation' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Ana01/DataVtxDistributionAna.C:253]: (style) Variable 'xwidth' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Ana01/ExtendedAxesAna.C:73]: (style) Variable 'labelEReco' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/NuSSystFunctions.h:165]: (style) The scope of the variable 'error' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/NuSSystFunctions.h:191]: (style) The scope of the variable 'error' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Ana01/FDDataMCSystBandAna.C:462]: (style) Unused variable: ups
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Ana01/FDDataMCSystBandAna.C:462]: (style) Unused variable: dns
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Ana01/FDDataMCSystBandLoad.C:109] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Ana01/FDDataMCSystBandLoad.C:112]: (performance) Variable 'saveDir' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Ana01/FDDataMCSystBandLoad.C:108]: (style) Variable 'tmp' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Ana01/FitParamEffectsAna.C:85]: (style) Unused variable: preds
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Ana01/FitParamEffectsAna.C:97]: (style) Variable 'tmpL' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Ana01/FitParamEffectsAna.C:120]: (style) Variable 'calc3f' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Ana01/FitSystEffectsAna.C:89]: (style) Variable 'tmpL' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Ana01/FitSystEffectsAna.C:114]: (style) Variable 'calc3f' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Ana01/NCPaperPlotME.C:142]: (style) Variable 'c' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Ana01/SpectrumParamEffectsAna.C:47]: (style) Variable 'tmpL' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Ana01/SystsCalibRelLoad.C:121]: (style) The scope of the variable 'fdpos' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Ana01/SystsCalibRelLoad.C:122]: (style) The scope of the variable 'fspos' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Ana01/SystsDecompLoad.C:51]: (style) Unused variable: systematics
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Ana01/SystsMCStatsLoad.C:22]: (style) Variable 'fnear' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Ana01/SystsMCStatsLoad.C:23]: (style) Variable 'ffar' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Ana01/SystsMCStatsLoad.C:24]: (style) Variable 'fswap' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Ana01/SystsMCStatsLoad.C:25]: (style) Variable 'ftau' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Ana01/SystsMCStatsLoad.C:43]: (style) Variable 'shiftlabels' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Ana01/SystsMCStatsLoad.C:155]: (style) Variable 'ndpos' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Ana01/SystsMCStatsLoad.C:156]: (style) Variable 'fdpos' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Ana01/SystsMCStatsLoad.C:157]: (style) Variable 'fspos' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Ana01/SystsMCStatsLoad.C:158]: (style) Variable 'ftpos' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/BlessedPlotsAnaByPeriod.C:199]: (style) Variable 'labelEReco' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/BlessedPlotsLoad.C:120] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/BlessedPlotsLoad.C:123]: (performance) Variable 'saveDir' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/CutTableLoad.C:335] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/CutTableLoad.C:338]: (performance) Variable 'saveDir' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/DataMCAna.C:75]: (performance) The conversion from const char* as returned by c_str() to std::string creates an unnecessary string copy. Solve that by directly passing the string.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/FCContour.C:131]: (style) Variable 'chi2' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/FCContour.C:259]: (performance) Checking for 'rank' emptiness might be inefficient. Using rank.empty() instead of rank.size() can be faster. rank.size() can take linear time but rank.empty() is guaranteed to take constant time.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/LOverEPlot.C:213]: (style) Variable 'f1' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/LOverEPlot.C:227]: (style) Variable 'f2' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/MakeNusPrediction.C:136] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/MakeNusPrediction.C:139]: (performance) Variable 'saveDir' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/MakeNusPredictionSystsAna01.C:82] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/MakeNusPredictionSystsAna01.C:85]: (performance) Variable 'saveDir' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/MatrixElementContours.C:103]: (style) Variable 'start' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/MatrixElementContours.C:103]: (style) Variable 'step' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/MatrixElementContours.C:148]: (style) Variable 'cContoursUtau4Umu4' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/NCPaperPlot.C:103]: (style) Variable 'fData' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/NCPaperPlot.C:128]: (style) Variable 'c' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/NDDataMCSystBandAna.C:39]: (style) Variable 'labelHits' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/NDDataMCSystBandLoad.C:91] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/NDDataMCSystBandLoad.C:94]: (performance) Variable 'saveDir' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/NDDataMCSystBandLoad.C:90]: (style) Variable 'tmp' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus17/CalcRWithSystsNus17.C:109] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus17/CalcRWithSystsNus17.C:111]: (performance) Variable 'nData' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus17/CalcRWithSystsNus17.C:110] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus17/CalcRWithSystsNus17.C:112]: (performance) Variable 'nCos' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus17/CalcRWithSystsNus17.C:105] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus17/CalcRWithSystsNus17.C:113]: (performance) Variable 'nMCNC' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus17/CalcRWithSystsNus17.C:106] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus17/CalcRWithSystsNus17.C:114]: (performance) Variable 'nMCCCnue' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus17/CalcRWithSystsNus17.C:107] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus17/CalcRWithSystsNus17.C:115]: (performance) Variable 'nMCCCnumu' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus17/CalcRWithSystsNus17.C:108] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus17/CalcRWithSystsNus17.C:116]: (performance) Variable 'nMCCCnutau' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus17/CalcRWithSystsNus17.C:44]: (style) Variable 'textLocation' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus17/DataMCNDAna_nus17.C:77]: (performance) The conversion from const char* as returned by c_str() to std::string creates an unnecessary string copy. Solve that by directly passing the string.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus17/FeldmanCousins/MakeBless/MakeBlessPlot/make_UU_final_plot/make_angle_plot.C:189]: (style) Variable 'max_theta24' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus17/FeldmanCousins/make_nus17_fc_surfs.C:148]: (style) Variable 'mock_c' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus17/MakeNus17CosBkgd.C:72]: (style) Unused variable: quantpath
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus17/MakeNus17Prediction.C:137] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus17/MakeNus17Prediction.C:140]: (performance) Variable 'saveDir' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus17/MakeNus17Prediction.C:36]: (style) Variable 'calc3f' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus17/MakeNus17PredictionSysts.C:64] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus17/MakeNus17PredictionSysts.C:67]: (performance) Variable 'saveDir' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus17/Nus17vsAn01_NuFACT_2D.C:138]: (style) Unused variable: hNus17
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus17/Nus17vsAn01_NuFACT_2D.C:152]: (style) Variable 'c' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus17/PlotNus17PredSystsData.C:116]: (style) Variable 'textLocation' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus17/PlotNus17PredSystsData.C:158]: (style) Variable 'prediction' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus17/PlotNus17PredSystsData.C:166]: (style) Variable 'labelEReco' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus17/PlotNus17PredSystsData.C:193]: (style) Unused variable: fullname
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus17/PlotNus17PredSystsData.C:350]: (error) Memory leak: leg
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus17/PlotNus17PredSystsData.C:377]: (error) Memory leak: leg
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus17/PlotNus17PredSystsData.C:503]: (error) Memory leak: legcomp
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus17/PlotNus17PredSystsData.C:503]: (error) Memory leak: legStat
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus17/PlotNus17PredSystsData.C:503]: (error) Memory leak: legSyst
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus17/PlotNus17Prediction.C:217]: (style) Variable 'livetime9' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus17/PlotNus17Prediction.C:218]: (style) Variable 'pot9' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus17/PlotNus17Prediction.C:219]: (style) Variable 'livetime24' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus17/PlotNus17Prediction.C:220]: (style) Variable 'pot24' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus17/PlotNus17Prediction.C:772]: (style) Variable 'maxvalstack' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus17/PlotNus17Prediction.C:421]: (error) Memory leak: leg
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus17/PlotNus17Prediction.C:453]: (error) Memory leak: leg
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus17/PlotNus17Prediction.C:566]: (error) Memory leak: legcomp
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus17/PlotNus17Prediction.C:566]: (error) Memory leak: legStat
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus17/PlotNus17Prediction.C:566]: (error) Memory leak: legSyst
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus17/Syst17/SystsAcceptanceAna17.C:63]: (style) Variable 'hNomNC_decomp' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus17/Syst17/SystsAcceptanceAna17.C:64]: (style) Variable 'hNomBG_decomp' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus17/Syst17/SystsCalibRelLoad17.C:148]: (style) The scope of the variable 'fdpos' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus17/Syst17/SystsCalibRelLoad17.C:149]: (style) The scope of the variable 'fspos' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus17/Syst17/SystsCalibRelLoad17.C:150]: (style) The scope of the variable 'ftpos' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus17/Syst17/SystsDecompAna17.C:339]: (error) fprintf format string has 3 parameters but only 2 are given.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus17/Syst17/SystsDecompLoad17.C:56]: (style) Unused variable: systematics
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus17/Syst17/SystHelper/PPFXHelper.h:165]: (style) The scope of the variable 'error' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus17/Syst17/SystHelper/PPFXHelper.h:191]: (style) The scope of the variable 'error' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus17/nus17_fiducial_mass.C:39]: (style) Variable 'del_a' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus17/nus17_fiducial_mass.C:41]: (style) Variable 'del_b' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus17/print_nus17_fd_cut_tables.C:171]: (style) Variable 'maxy' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus17/print_nus17_fd_cut_tables.C:398]: (style) Variable 'time' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus17/print_nus17_fd_cut_tables.C:401]: (style) Unused variable: name
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus17/print_nus17_fd_cut_tables.C:112]: (performance) Parameter 'pred_basename' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus17/print_nus17_fd_cut_tables.C:113]: (performance) Parameter 'spec_basename' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus17/print_nus17_fd_cut_tables.C:114]: (performance) Parameter 'fname' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus17/print_nus17_fd_cut_tables2D.C:211]: (style) Variable 'time' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus17/print_nus17_fd_cut_tables2D.C:214]: (style) Unused variable: name
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus17/print_nus17_fd_cut_tables2D.C:111]: (performance) Parameter 'pred_basename' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus17/print_nus17_fd_cut_tables2D.C:112]: (performance) Parameter 'spec_basename' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus17/print_nus17_fd_cut_tables2D.C:113]: (performance) Parameter 'fname' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/Nus18Utilities.h:1061]: (style) The scope of the variable 'val' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/Nus18Utilities.h:1227]: (style) Unused variable: rescaled
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/AnalyzeNus18Pred.C:37]: (style) Variable 'systematics' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/AnalyzeNus18Pred.C:38]: (style) Variable 'cosmics' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/Nus18Utilities.h:585]: (performance) Checking for 'm' emptiness might be inefficient. Using m.empty() instead of m.size() can be faster. m.size() can take linear time but m.empty() is guaranteed to take constant time.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/AnalyzeNus18Systs.C:34]: (style) Variable 'pot' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/DataMCNDAna_nus18.C:113]: (performance) The conversion from const char* as returned by c_str() to std::string creates an unnecessary string copy. Solve that by directly passing the string.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/DrawCovMx.C:42]: (style) Variable 'nd_pot' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/DrawCovMx.C:44]: (style) Variable 'fd_livetime' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/DrawCovMx.C:80]: (style) Variable 'bin_edges' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/DrawSurface.C:68]: (style) Variable 'use_nd' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/DrawSurface.C:74]: (style) Variable 'polarity' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/MakeCosmicBackground.C:118]: (style) Variable 'pot' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/MakeCosmicBackground.C:72]: (style) Unused variable: geniefiles
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/MakeCosmicBackground.C:72]: (style) Unused variable: quantpath
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/MakeCovMx.C:101]: (style) Variable 'ppfx_dir' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/MakeExtrapSurface.C:105]: (style) The scope of the variable 'nbins34_1d' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/MakeExtrapSurface.C:105]: (style) The scope of the variable 'nbins34_2d' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/MakeExtrapSurface.C:108]: (style) The scope of the variable 'nbins24_1d' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/MakeExtrapSurface.C:108]: (style) The scope of the variable 'nbins24_2d' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/MakeExtrapSurface.C:47]: (style) Variable 'cos' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/MakeFakeData.C:25]: (style) Variable 'nd_pot' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/MakeFakeData.C:29]: (style) Variable 'polarity' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/Nus18PredictionHandlers.h:317]: (performance) Checking for 'shifts' emptiness might be inefficient. Using shifts.empty() instead of shifts.size() can be faster. shifts.size() can take linear time but shifts.empty() is guaranteed to take constant time.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/MakeNus18Systs.C:124]: (style) The scope of the variable 'universeWgt' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/MakePPFXRatios.C:4]: (error) Invalid usage of output stream: '<< std::cout'.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/MakeSurface.C:92]: (style) The scope of the variable 'fake_signal' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/MakeSurface.C:93]: (style) The scope of the variable 'old_ppfx' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/MakeSurface.C:58]: (style) Variable 'use_systs' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/MakeSurface.C:82]: (style) Variable 'use_nd' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/MakeSurface.C:95]: (style) Variable 'fake_signal' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/MakeSurface.C:96]: (style) Variable 'old_ppfx' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/MakeSurface.C:117]: (style) Variable 'polarity' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/MakeSurface.C:248]: (error) Uninitialized variable: chi
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/MatrixValidation.C:35]: (style) Variable 'nd_pot' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/MatrixValidation.C:37]: (style) Variable 'fd_livetime' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/MatrixValidation.C:68]: (style) Variable 'plotfile' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/Nus18Systs/MakeNus18Systs.C:35]: (style) The scope of the variable 'extrap' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/Nus18Systs/MakeNus18Systs.C:53]: (style) Variable 'extrap' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/Nus18Systs/MakeNus18Systs.C:72]: (style) Unused variable: beamShifts
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/Nus18Systs/HelperSyst18/NuSSystFunctions18.h:141]: (style) The scope of the variable 'error' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/Nus18Systs/HelperSyst18/NuSSystFunctions18.h:165]: (style) The scope of the variable 'error' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/Nus18Systs/HelperSyst18/NuSSystFunctions18.h:192]: (style) The scope of the variable 'error1' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/Nus18Systs/HelperSyst18/NuSSystFunctions18.h:192]: (style) The scope of the variable 'error2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/Nus18Systs/HelperSyst18/NuSPlotFunctions18.h:226]: (style) Variable 'potStr' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/Nus18Systs/HelperSyst18/NuSPlotFunctions18.h:235]: (style) Variable 'hNutau' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/Nus18Systs/HelperSyst18/NuSPlotFunctions18.h:306]: (style) Variable 'error' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/Nus18Systs/HelperSyst18/NuSPlotFunctions18.h:459]: (style) Variable 'potStr' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/Nus18Systs/HelperSyst18/NuSPlotFunctions18.h:531]: (style) Variable 'maxvalstack' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/Nus18Systs/HelperSyst18/NuSSystFunctions18.h:1156]: (style) Variable 'cv_events_in_bins' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/Nus18Systs/Nus18SystMaker.C:166]: (style) Variable 'kSystCalibRel' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/Nus18Systs/Nus18SystMaker.C:189]: (style) Variable 'kSystGENIE' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/Nus18Systs/Nus18SystMaker.C:169]: (style) Variable 'kSystGENIE_ND' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/Nus18Systs/Nus18SystMaker.C:172]: (style) Variable 'kSystGENIE_FD' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/Nus18Systs/Nus18SystMaker.C:175]: (style) Variable 'kSystGENIE_Extrap' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/Nus18Systs/Nus18SystMaker.C:220]: (style) Variable 'labelCherenkov_m' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/Nus18Systs/Nus18SystMaker.C:227]: (style) Variable 'labelsCalibRelFD' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/Nus18Systs/Nus18SystMaker.C:230]: (style) Variable 'labelsCalibRelND' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/Nus18Systs/Nus18SystMaker.C:233]: (style) Variable 'labelsCalibRelEX' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/Nus18Systs/HelperSyst18/NuSPlotFunctions18.h:224]: (error) Buffer is accessed out of bounds.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/Nus18Systs/Nus18SystsGENIEAna.C:28]: (performance) When an object of a class is created, the constructors of all member variables are called consecutively in the order the variables are declared, even if you don't explicitly write them to the initialization list. You could avoid assigning 'name' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/Nus18Systs/Nus18SystsGENIEAna.C:29]: (performance) When an object of a class is created, the constructors of all member variables are called consecutively in the order the variables are declared, even if you don't explicitly write them to the initialization list. You could avoid assigning 'label' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/Nus18Systs/Nus18SystsKaonAna.C:64]: (style) Unused variable: predsND_nominal
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/Nus18Systs/Nus18SystsKaonAna.C:65]: (style) Unused variable: predsFD_nominal
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/Nus18Systs/Nus18SystsKaonAna.C:67]: (style) Unused variable: predsND_shifted
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/Nus18Systs/Nus18SystsKaonAna.C:68]: (style) Unused variable: predsFD_shifted
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/Nus18Systs/Nus18SystsKaonLoad.C:42]: (style) The scope of the variable 'extrap' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/Nus18Systs/Nus18SystsKaonLoad.C:60]: (style) Variable 'extrap' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/Nus18Systs/Nus18SystsKaonLoad.C:86]: (style) Unused variable: predsND_nominal
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/Nus18Systs/Nus18SystsKaonLoad.C:87]: (style) Unused variable: predsFD_nominal
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/Nus18Systs/Nus18SystsKaonLoad.C:89]: (style) Unused variable: predsND_shifted
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/Nus18Systs/Nus18SystsKaonLoad.C:90]: (style) Unused variable: predsFD_shifted
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/Nus18Systs/Nus18SystsTauAna.C:64]: (style) Unused variable: predsND_nominal
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/Nus18Systs/Nus18SystsTauAna.C:65]: (style) Unused variable: predsFD_nominal
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/Nus18Systs/Nus18SystsTauAna.C:67]: (style) Unused variable: predsND_shifted
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/Nus18Systs/Nus18SystsTauAna.C:68]: (style) Unused variable: predsFD_shifted
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/Nus18Systs/Nus18SystsTauLoad.C:88]: (style) Unused variable: predsND_nominal
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/Nus18Systs/Nus18SystsTauLoad.C:89]: (style) Unused variable: predsFD_nominal
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/Nus18Systs/Nus18SystsTauLoad.C:91]: (style) Unused variable: predsND_shifted
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/Nus18Systs/Nus18SystsTauLoad.C:92]: (style) Unused variable: predsFD_shifted
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus18/make_fc_nus_surfs_nersc_2018.C:140]: (style) Variable 'detectors_in' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus19FHC/MakeCovarSim.C:262]: (error) Memory leak: gen
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus19FHC/MakeFileSystMatrix.C:49]: (style) Variable 'nd_systs' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus19FHC/MakeFileSystMatrix.C:50]: (style) Variable 'fd_systs' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus19FHC/MakeSurface.C:253]: (style) Unused variable: CMs
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus19FHC/make_cm_pullterm_pdf.C:10]: (style) Variable 'det' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus19FHC/make_cm_pullterm_pdf.C:11]: (style) Variable 'pol' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus19FHC/make_cm_pullterm_pdf.C:154]: (style) Unused variable: f
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus19FHC/make_cm_pullterm_pdf.C:200]: (style) Variable 'n_c' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus19FHC/make_cm_pullterm_pdf.C:228]: (error) Memory leak: cc
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus19FHC/make_fc_nus_surfs_nersc_2019.C:281]: (style) The scope of the variable 'j' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus19FHC/systs/MakeISysts.C:58]: (style) Variable 'name' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus19FHC/systs/MakeNus2019CovMxSysts.C:248] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus19FHC/systs/MakeNus2019CovMxSysts.C:249]: (error) Possible null pointer dereference: outfile - otherwise it is redundant to check it against null.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus19FHC/systs/MakeNus2019CovMxSysts.C:55]: (style) Variable 'pot' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus19FHC/systs/MakeSysts.C:229] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus19FHC/systs/MakeSysts.C:230]: (error) Possible null pointer dereference: outfile - otherwise it is redundant to check it against null.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus19FHC/systs/MakeSysts.C:55]: (style) Variable 'pot' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus19FHC/systs/TestMatrix.C:14]: (style) Variable 'jobid' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus19FHC/systs/TestMatrix.C:54]: (style) Variable 'predfile' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus19RHC/AnalyzePred.C:37]: (style) Variable 'systematics' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus19RHC/AnalyzePred.C:38]: (style) Variable 'cosmics' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus19RHC/AnalyzeSysts.C:35]: (style) Variable 'pot' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus19RHC/MakeExtrapSurface.C:105]: (style) The scope of the variable 'nbins34_1d' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus19RHC/MakeExtrapSurface.C:105]: (style) The scope of the variable 'nbins34_2d' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus19RHC/MakeExtrapSurface.C:108]: (style) The scope of the variable 'nbins24_1d' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus19RHC/MakeExtrapSurface.C:108]: (style) The scope of the variable 'nbins24_2d' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus19RHC/MakeExtrapSurface.C:47]: (style) Variable 'cos' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus19RHC/MakeSysts.C:81]: (style) Variable 'sigmas' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus19RHC/data2data/Analyse_Data2DataComp.C:88]: (style) Unused variable: dirName
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus19RHC/data2data/Plotting_Data2DataComp.C:90]: (warning) %d in format string (no. 1) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus19RHC/data2data/Plotting_Data2DataComp.C:92]: (warning) %d in format string (no. 1) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus19RHC/data2data/Plotting_Data2DataComp.C:139]: (warning) %d in format string (no. 1) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Nus19RHC/data2data/Plotting_Data2DataComp.C:29]: (style) Variable 'fractionalError' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/NusContoursPlusMINOS.C:105]: (style) Variable 'start' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/NusContoursPlusMINOS.C:105]: (style) Variable 'step' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/NusContoursPlusMINOS.C:118]: (style) Variable 'th24lo' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/NusContoursPlusMINOS.C:119]: (style) Variable 'th24hi' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/NusContoursPlusMINOS.C:121]: (style) Variable 'th34lo2D' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/NusContoursPlusMINOS.C:122]: (style) Variable 'th34hi2D' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/NusContoursPlusMINOS.C:140]: (style) Variable 'up68' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/NusContoursPlusMINOS.C:147]: (style) Variable 'cContours2D_1yr' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ApplicationSA.C:99]: (style) The scope of the variable 'BDTA_NC' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ApplicationSA.C:104]: (style) Variable 'BDTA_NC' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ApplicationSA.C:47]: (performance) Prefix ++/-- operators should be preferred for non-primitive types. Pre-increment/decrement can be more efficient than post-increment/decrement. Post-increment/decrement usually involves keeping a copy of the previous value around and adds a little extra code.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ApplicationSA.C:54]: (performance) Prefix ++/-- operators should be preferred for non-primitive types. Pre-increment/decrement can be more efficient than post-increment/decrement. Post-increment/decrement usually involves keeping a copy of the previous value around and adds a little extra code.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ApplicationSA.C:89]: (performance) Prefix ++/-- operators should be preferred for non-primitive types. Pre-increment/decrement can be more efficient than post-increment/decrement. Post-increment/decrement usually involves keeping a copy of the previous value around and adds a little extra code.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/CLAApplication.C:153]: (style) Variable 'BDTA_CS' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/CLAApplication.C:55]: (performance) Prefix ++/-- operators should be preferred for non-primitive types. Pre-increment/decrement can be more efficient than post-increment/decrement. Post-increment/decrement usually involves keeping a copy of the previous value around and adds a little extra code.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/CLAApplication.C:62]: (performance) Prefix ++/-- operators should be preferred for non-primitive types. Pre-increment/decrement can be more efficient than post-increment/decrement. Post-increment/decrement usually involves keeping a copy of the previous value around and adds a little extra code.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/CLAApplication.C:137]: (performance) Prefix ++/-- operators should be preferred for non-primitive types. Pre-increment/decrement can be more efficient than post-increment/decrement. Post-increment/decrement usually involves keeping a copy of the previous value around and adds a little extra code.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/CLAShower.C:79]: (performance) Prefix ++/-- operators should be preferred for non-primitive types. Pre-increment/decrement can be more efficient than post-increment/decrement. Post-increment/decrement usually involves keeping a copy of the previous value around and adds a little extra code.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/CLAShower.C:87]: (performance) Prefix ++/-- operators should be preferred for non-primitive types. Pre-increment/decrement can be more efficient than post-increment/decrement. Post-increment/decrement usually involves keeping a copy of the previous value around and adds a little extra code.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/CLAShower_BDTA.class.C:299]: (style) Unused private function: 'ReadBDTA::GetNvar'
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/CLAShower_BDTA.class.C:300]: (style) Unused private function: 'ReadBDTA::GetType'
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/CLAShower_BDTA.class.C:29688]: (performance) Prefix ++/-- operators should be preferred for non-primitive types. Pre-increment/decrement can be more efficient than post-increment/decrement. Post-increment/decrement usually involves keeping a copy of the previous value around and adds a little extra code.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:979] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1025]: (performance) Variable 'nhit' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1326] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1357]: (performance) Variable 'shwnhit' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1327] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1358]: (performance) Variable 'shwnhitx' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1255]: (style) Variable 'Run' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1256]: (style) Variable 'SubRun' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1257]: (style) Variable 'Evt' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1258]: (style) Variable 'SubEvt' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1354]: (style) Variable 'ncid' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1355]: (style) Variable 'cosmicid' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1356]: (style) Variable 'partptp' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1302]: (style) Variable 'pngptp' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1273]: (style) Variable 'starttop' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1274]: (style) Variable 'startbottom' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1275]: (style) Variable 'startfront' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1276]: (style) Variable 'startback' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1277]: (style) Variable 'startwest' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1278]: (style) Variable 'starteast' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1279]: (style) Variable 'stoptop' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1280]: (style) Variable 'stopbottom' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1281]: (style) Variable 'stopfront' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1282]: (style) Variable 'stopback' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1283]: (style) Variable 'stopwest' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1284]: (style) Variable 'stopeast' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1285]: (style) Variable 'cosdang' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1286]: (style) Variable 'vtxdoca' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1287]: (style) Variable 'prongmaxx' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1288]: (style) Variable 'prongmaxy' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1289]: (style) Variable 'prongmaxz' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1290]: (style) Variable 'prongminx' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1291]: (style) Variable 'prongminy' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1292]: (style) Variable 'prongminz' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1293]: (style) Variable 'sparsenessasymm' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1295]: (style) Variable 'hitsperplaneasymm' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1294]: (style) Variable 'hitsperplane' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1296]: (style) Variable 'musliceidx' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1297]: (style) Variable 'muanglediff' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1298]: (style) Variable 'mutimediff' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1299]: (style) Variable 'muclosestapproach' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1357]: (style) Variable 'shwnhit' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1362]: (style) Variable 'shwxovery' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1329]: (style) Variable 'shwnplane' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1330]: (style) Variable 'shwmaxplanecont' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1331]: (style) Variable 'shwmaxplanegap' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1363]: (style) Variable 'shwcalE' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1333]: (style) Variable 'shwstartX' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1334]: (style) Variable 'shwstartY' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1335]: (style) Variable 'shwstartZ' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1336]: (style) Variable 'shwdirX' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1364]: (style) Variable 'shwdirY' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1338]: (style) Variable 'shwdirZ' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1365]: (style) Variable 'shwlen' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1366]: (style) Variable 'shwwwidth' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1341]: (style) Variable 'shwNplaneX' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1342]: (style) Variable 'shwNplaneY' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1367]: (style) Variable 'shwGap' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1368]: (style) Variable 'nshwlid' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1369]: (style) Variable 'nmiphit' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1304]: (style) Variable 'numupid' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1311]: (style) Variable 'rempid' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1312]: (style) Variable 'remlen' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1371]: (style) Variable 'anglekal' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1372]: (style) Variable 'dirFY' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1373]: (style) Variable 'boxmaxFY' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1374]: (style) Variable 'kalnhit' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1375]: (style) Variable 'kallen' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1376]: (style) Variable 'kalfwdcell' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1377]: (style) Variable 'kalbakcell' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1378]: (style) Variable 'scatt' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1379]: (style) Variable 'nhit' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1380]: (style) Variable 'energy' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1381]: (style) Variable 'boxminFY' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1382]: (style) Variable 'nkal' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:701]: (style) Unused variable: nonfile
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/ProducingSA.C:1040]: (style) Unused variable: cosfile
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/SA_BDTA.class.C:299]: (style) Unused private function: 'ReadBDTA::GetNvar'
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/SA_BDTA.class.C:300]: (style) Unused private function: 'ReadBDTA::GetType'
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/SA_BDTA.class.C:30330]: (performance) Prefix ++/-- operators should be preferred for non-primitive types. Pre-increment/decrement can be more efficient than post-increment/decrement. Post-increment/decrement usually involves keeping a copy of the previous value around and adds a little extra code.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/TrainingSA.C:60]: (performance) Prefix ++/-- operators should be preferred for non-primitive types. Pre-increment/decrement can be more efficient than post-increment/decrement. Post-increment/decrement usually involves keeping a copy of the previous value around and adds a little extra code.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/PIDs/TMVA/TrainingSA.C:68]: (performance) Prefix ++/-- operators should be preferred for non-primitive types. Pre-increment/decrement can be more efficient than post-increment/decrement. Post-increment/decrement usually involves keeping a copy of the previous value around and adds a little extra code.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/SideBandLoad.C:74]: (style) Variable 'labelRecoE' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Systs/SystsCalibRelLoad.C:121]: (style) The scope of the variable 'fdpos' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Systs/SystsCalibRelLoad.C:122]: (style) The scope of the variable 'fspos' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Systs/SystsDecompLoad.C:51]: (style) Unused variable: systematics
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Systs/SystsMCStatsLoad.C:22]: (style) Variable 'fnear' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Systs/SystsMCStatsLoad.C:23]: (style) Variable 'ffar' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Systs/SystsMCStatsLoad.C:24]: (style) Variable 'fswap' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Systs/SystsMCStatsLoad.C:25]: (style) Variable 'ftau' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Systs/SystsMCStatsLoad.C:43]: (style) Variable 'shiftlabels' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Systs/SystsMCStatsLoad.C:155]: (style) Variable 'ndpos' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Systs/SystsMCStatsLoad.C:156]: (style) Variable 'fdpos' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Systs/SystsMCStatsLoad.C:157]: (style) Variable 'fspos' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Systs/SystsMCStatsLoad.C:158]: (style) Variable 'ftpos' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Systs/SystsOscParamAna.C:56]: (style) Unused variable: preds
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Systs/SystsOscParamAna.C:59]: (style) Variable 'folder' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Systs/SystsOscParamAna.C:68]: (style) Variable 'tmpL' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Validation/FDDataMC.C:79]: (style) Unused variable: spectsMC
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Validation/FDDataMC.C:30]: (performance) Parameter 'predFileName' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Validation/FDDataMC.C:32]: (performance) Parameter 'ldrFDnon' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Validation/FDDataMC.C:33]: (performance) Parameter 'ldrFDswp' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Validation/FDDataMC.C:34]: (performance) Parameter 'ldrCosmic' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Validation/NDDataMC.C:33]: (performance) Parameter 'predFileName' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Validation/NDDataMC.C:34]: (performance) Parameter 'ldrData' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/Validation/NDDataMC.C:34]: (performance) Parameter 'ldrMC' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/make_nus17_fc_surfs.C:57]: (style) Variable 'folder' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/make_nus17_fc_surfs.C:61]: (style) Variable 'saveLocation' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/make_nus17_fc_surfs.C:62]: (style) Variable 'textLocation' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nus/make_nus_ana01_event_list.C:32]: (style) Variable 'vars' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/reco/prongID/plot_pid.C:49] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/reco/prongID/plot_pid.C:52]: (performance) Variable 'potstr' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/reco/prongID/plot_pid.C:81]: (performance) Parameter 'inFile' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/shared/Ana2017/syst_variations.h:286]: (style) Unused variable: s
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/shared/Ana2017/draw_plots_util.h:46]: (style) The scope of the variable 'dCP_Pi' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/shared/Ana2017/draw_plots_util.h:47]: (style) The scope of the variable 'ssth23' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/shared/Ana2017/draw_plots_util.h:48]: (style) The scope of the variable 'dmsq32' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/shared/Ana2017/draw_plots_util.h:245]: (performance) Parameter 'exts' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/shared/Ana2018/draw_plots_util.h:1190] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/shared/Ana2018/draw_plots_util.h:1192]: (error) Possible null pointer dereference: predExtend - otherwise it is redundant to check it against null.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/shared/Ana2018/tex_tables_util.h:739] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/shared/Ana2018/tex_tables_util.h:737]: (style) Finding the same code in an 'if' and related 'else' branch is suspicious and might indicate a cut and paste or logic error. Please examine this code carefully to determine if it is correct.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/shared/Ana2018/tex_tables_util.h:781] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/shared/Ana2018/tex_tables_util.h:778]: (style) Finding the same code in an 'if' and related 'else' branch is suspicious and might indicate a cut and paste or logic error. Please examine this code carefully to determine if it is correct.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/shared/Ana2018/tex_tables_util.h:801] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/shared/Ana2018/tex_tables_util.h:798]: (style) Finding the same code in an 'if' and related 'else' branch is suspicious and might indicate a cut and paste or logic error. Please examine this code carefully to determine if it is correct.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/shared/Ana2018/draw_plots_util.h:57]: (style) The scope of the variable 'dCP_Pi' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/shared/Ana2018/draw_plots_util.h:58]: (style) The scope of the variable 'ssth23' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/shared/Ana2018/draw_plots_util.h:59]: (style) The scope of the variable 'dmsq32' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/shared/Ana2018/plot_prediction_systs.C:92]: (style) Variable 'printtable' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/shared/Ana2018/draw_plots_util.h:276]: (performance) Parameter 'exts' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/shared/Ana2019/generate_fd_fake_events.C:171]: (warning) %d in format string (no. 1) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/shared/Ana2019/plot_prediction_systs.C:94]: (style) Variable 'printtable' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/shared/PIDCutTuning/makePIDCutTuning.C:109] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/shared/PIDCutTuning/makePIDCutTuning.C:105]: (style) Finding the same code in an 'if' and related 'else' branch is suspicious and might indicate a cut and paste or logic error. Please examine this code carefully to determine if it is correct.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/shared/PIDCutTuning/makePIDCutTuning.C:116] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/shared/PIDCutTuning/makePIDCutTuning.C:112]: (style) Finding the same code in an 'if' and related 'else' branch is suspicious and might indicate a cut and paste or logic error. Please examine this code carefully to determine if it is correct.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/shared/syst_framework/syst_header.h:261]: (performance) Parameter 'axisNumu' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/shared/syst_framework/syst_header.h:262]: (performance) Parameter 'axisHadEFrac' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/shared/syst_framework/syst_header.h:280]: (performance) Parameter 'axisNumu' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/shared/syst_framework/syst_header.h:281]: (performance) Parameter 'cutNumuFD' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/shared/syst_framework/syst_header.h:282]: (performance) Parameter 'cutNumuND' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/shared/syst_framework/syst_header.h:301]: (performance) Parameter 'axisNumu' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/shared/syst_framework/syst_header.h:302]: (performance) Parameter 'cutNumuFD' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/shared/syst_framework/syst_header.h:314]: (performance) Parameter 'axisNue' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/shared/syst_framework/syst_header.h:315]: (performance) Parameter 'axisNumuForNue' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/shared/syst_framework/syst_header.h:316]: (performance) Parameter 'cutNueFD' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/shared/syst_framework/syst_header.h:317]: (performance) Parameter 'cutNueND' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/shared/syst_framework/syst_header.h:318]: (performance) Parameter 'cutNumuForNueND' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/shared/syst_framework/syst_header.h:333]: (performance) Parameter 'axisNue' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/shared/syst_framework/syst_header.h:334]: (performance) Parameter 'axisNumuForNue' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/shared/syst_framework/syst_header.h:335]: (performance) Parameter 'cutNueFD' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/shared/syst_framework/syst_header.h:336]: (performance) Parameter 'cutNueND' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/shared/syst_framework/syst_header.h:337]: (performance) Parameter 'cutNumuForNueND' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/shared/syst_framework/syst_header.h:352]: (performance) Parameter 'axisNue' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/shared/syst_framework/syst_header.h:353]: (performance) Parameter 'cutNueFD' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/test/test_caf_validation_plots.C:107]: (style) Variable 'valid_dir' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/test/test_fc_numu.C:307]: (style) Variable 'surfSyst' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/test/test_nue2017Prediction.C:30]: (style) Variable 'fName2' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/test/test_nue2017Prediction.C:79]: (style) Variable 'can' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/test/test_nue2017Prediction.C:99]: (style) Variable 'can_merge' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/test/test_nue2018_fitter.C:65]: (style) The scope of the variable 'counter' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/test/test_nue2018_fitter.C:65]: (style) The scope of the variable 'chi' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/test/test_nue2018_fitter.C:35]: (style) Variable 'dirName' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/test/test_nue2018_fitter.C:75]: (style) Variable 'chi' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/test/test_predictionscalecomp.C:69]: (style) Variable 'can' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/tute/demoBarChart.C:110]: (style) Variable 'livetime' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/tute/demoBarChart.C:245]: (style) Variable 'hi_del_systs' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/tute/demoBarChart.C:246]: (style) Variable 'lo_del_systs' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/tute/demoBarChart.C:247]: (style) Variable 'hi_sin_systs' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/tute/demoBarChart.C:248]: (style) Variable 'lo_sin_systs' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/tute/demoBarChart.C:196]: (style) Variable 'range_del_stats' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/tute/demoBarChart.C:197]: (style) Variable 'range_sin_stats' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/tute/demoBarChart.C:210]: (style) Variable 'range_del_total' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/tute/demoBarChart.C:211]: (style) Variable 'range_sin_total' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/tute/demoBarChart.C:230]: (style) Variable 'range_del_temp' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/tute/demoBarChart.C:231]: (style) Variable 'range_sin_temp' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/tute/demoBarChart.C:300]: (style) Unused variable: c_del
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/tute/demoBarChart.C:306]: (style) Unused variable: c_sin
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/tute/demoFitContours.C:150]: (style) The scope of the variable 'nnumu' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/tute/demoFitContours.C:585]: (style) The scope of the variable 'delta' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/tute/demoFitContours.C:585]: (style) The scope of the variable 'th23' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/tute/demoFitContours.C:585]: (style) The scope of the variable 'dmsq32' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/tute/demoFitContours.C:585]: (style) The scope of the variable 'th13' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/tute/demoFitContours.C:54]: (style) Variable 'white' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/tute/demoFitContours.C:127]: (style) Unused variable: data
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/tute/demoFitContours.C:128]: (style) Unused variable: data_numu_only
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/tute/demoFitContours.C:273]: (style) Variable 'systs_numu_only' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/tute/demoFitContours.C:314]: (style) Variable 'seedShifts' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/tute/demoFitContours.C:333]: (style) Unused variable: numu_pre_seedLOIH
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/tute/demoFitContours.C:333]: (style) Unused variable: numu_pre_seedUOIH
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/tute/demoFitContours.C:333]: (style) Unused variable: dmsq_numu_pre_seedNH
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/tute/demoFitContours.C:333]: (style) Unused variable: dmsq_numu_pre_seedIH
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/tute/demoFitContours.C:729]: (style) Variable 'isSysts' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/tute/demoFitContours.C:730]: (style) Variable 'isFccorr' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/tute/demoFitSlices.C:162]: (style) The scope of the variable 'nnumu' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/tute/demoFitSlices.C:143]: (style) Unused variable: data
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/tute/demoFitSlices.C:144]: (style) Unused variable: data_numu_only
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/tute/demoFitSlices.C:254]: (style) Variable 'systs_numu_only' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/tute/demoFitSlices.C:301]: (style) Unused variable: numu_pre_seedLOIH
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/tute/demoFitSlices.C:301]: (style) Unused variable: numu_pre_seedUOIH
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/tute/demoFitSlices.C:301]: (style) Unused variable: dmsq_numu_pre_seedNH
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/tute/demoFitSlices.C:301]: (style) Unused variable: dmsq_numu_pre_seedIH
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/tute/demoFitSlices.C:343]: (style) Variable 'th23_old_seeds' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/tute/demoFitSlices.C:522]: (style) Variable 'minchi23' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/tute/demoPlotSystBands.C:32]: (style) Variable 'dCP' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/tute/demoStarPlots.C:128]: (style) Variable 'livetime' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/xsec_tuning/mec_tuning.C:157]: (style) Statements following return, break, continue, goto or throw will never be executed.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/xsec_tuning/mec_tuning.C:94]: (performance) Parameter 'shift_non_mec' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/xsec_tuning/mec_tuning.C:101]: (performance) Parameter 'shift_non_mec' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/xsec_tuning/mec_tuning.C:111]: (performance) Parameter 'shift_non_mec' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/xsec_tuning/mec_tuning.C:249]: (performance) Parameter 'playlist' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/xsec_tuning/mec_tuning.C:268]: (performance) Parameter 'beam' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/xsec_tuning/mec_tuning.C:269]: (performance) Parameter 'shift_non_mec' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/xsec_tuning/mec_tuning.C:158]: (error) Uninitialized variable: q0
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/xsec_tuning/mec_tuning.C:158]: (error) Uninitialized variable: q3
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/xsec_tuning/TuningSysts2020.h:45]: (style) Statements following return, break, continue, goto or throw will never be executed.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/xsec_tuning/mec_tuning_fitter_2020.C:73]: (performance) Parameter 'beam' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/xsec_tuning/mec_tuning_fitter_2020.C:74]: (performance) Parameter 'fit' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/xsec_tuning/TuningSysts2020.h:46]: (error) Uninitialized variable: q0
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/xsec_tuning/TuningSysts2020.h:46]: (error) Uninitialized variable: q3
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/xsec_tuning/mec_tuning_preds_2020.C:55]: (performance) Parameter 'beam' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/xsec_tuning/mec_tuning_preds_2020.C:56]: (performance) Parameter 'fit' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.

CAFMaker

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFMaker/CAFMaker_dict.cc:3001]: (error) No pair for character ('). Can't process file. File is either invalid or unicode, which is currently not supported.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFMaker/CAFMaker_module.cc:1953]: (style) The scope of the variable 'nshwlids' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFMaker/CAFMaker_module.cc:2580]: (warning) The expression '1' is of type 'bool' and it is compared against an integer value.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFMaker/CAFMaker_module.cc:1762]: (style) Variable 'trkinfos' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFMaker/CAFMaker_module.cc:1839]: (style) Variable 'remids' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecVarPID/RVP.h:16]: (style) The class 'RVP' does not have a constructor although it has private member variables. Member variables of builtin types are left uninitialized when the class is instanciated. That may cause bugs or undefined behavior.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/XnuePID/Xnue.h:17]: (style) The class 'Xnue' does not have a constructor although it has private member variables. Member variables of builtin types are left uninitialized when the class is instanciated. That may cause bugs or undefined behavior.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFMaker/FillEnergies.cxx:114]: (style) The scope of the variable 'cellsFromEdge' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.

CAFReweight


CalHit


Calibration

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/COLZ.cxx:94]: (style) Unused variable: hitId
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/COLZ.cxx:94]: (style) Unused variable: totalPlanes
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/COLZ.cxx:85]: (error) Uninitialized variable: hPECellPlaneX
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/COLZ.cxx:86]: (error) Uninitialized variable: hPECellPlaneY
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/COLZ.cxx:87]: (error) Uninitialized variable: hPECorrCellPlaneX
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/COLZ.cxx:88]: (error) Uninitialized variable: hPECorrCellPlaneY
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/COLZ.cxx:89]: (error) Uninitialized variable: hTrueCellPlaneX
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/COLZ.cxx:90]: (error) Uninitialized variable: hTrueCellPlaneY
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/MuonTrackHits_module.cc:208]: (style) The scope of the variable 'windowTricells' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/MuonTrackHits_module.cc:209]: (style) The scope of the variable 'windowAvgHits' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/MuonTrackHits_module.cc:210]: (style) The scope of the variable 'windowZHits' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/MuonTrackHits_module.cc:249]: (style) The scope of the variable 'cid' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/MuonTrackHits_module.cc:250]: (style) The scope of the variable 'stopPlaneID' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/MuondEdxAna_module.cc:399]: (style) The scope of the variable 'cid' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/MuondEdxAna_module.cc:400]: (style) The scope of the variable 'stopPlaneID' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/MuondEdx_module.cc:111]: (style) The scope of the variable 'cid' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/MuondEdx_module.cc:112]: (style) The scope of the variable 'stopPlaneID' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/absCal.cxx:84]: (style) Unused variable: planes_MC
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/absCal.cxx:84]: (style) Unused variable: xplanes_MC
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/absCal.cxx:84]: (style) Unused variable: yplanes_MC
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/absCal.cxx:85]: (style) Unused variable: cont_MC
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/absCal.cxx:85]: (style) Unused variable: nhits_MC
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/absCal.cxx:85]: (style) Unused variable: hitId_MC
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/absCal.cxx:124]: (style) Unused variable: planes_data
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/absCal.cxx:124]: (style) Unused variable: xplanes_data
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/absCal.cxx:124]: (style) Unused variable: yplanes_data
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/absCal.cxx:125]: (style) Unused variable: cont_data
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/absCal.cxx:125]: (style) Unused variable: nhits_data
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/absCal.cxx:125]: (style) Unused variable: hitId_data
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/absCal.cxx:544]: (style) Variable 'C' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/absCal_Diblocks.cxx:118]: (warning) %d in format string (no. 1) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/absCal_Diblocks.cxx:120]: (warning) %d in format string (no. 1) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/absCal_Diblocks.cxx:123]: (warning) %d in format string (no. 1) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/absCal_Diblocks.cxx:126]: (warning) %d in format string (no. 1) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/absCal_Diblocks.cxx:183]: (warning) %d in format string (no. 1) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/absCal_Diblocks.cxx:185]: (warning) %d in format string (no. 1) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/absCal_Diblocks.cxx:188]: (warning) %d in format string (no. 1) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/absCal_Diblocks.cxx:84]: (style) Unused variable: mccal
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/absCal_Diblocks.cxx:85]: (style) Unused variable: datacal
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/absCal_Diblocks.cxx:95]: (style) Unused variable: planes_MC
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/absCal_Diblocks.cxx:95]: (style) Unused variable: xplanes_MC
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/absCal_Diblocks.cxx:95]: (style) Unused variable: yplanes_MC
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/absCal_Diblocks.cxx:96]: (style) Unused variable: cont_MC
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/absCal_Diblocks.cxx:96]: (style) Unused variable: nhits_MC
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/absCal_Diblocks.cxx:96]: (style) Unused variable: hitId_MC
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/absCal_Diblocks.cxx:167]: (style) Unused variable: planes_data
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/absCal_Diblocks.cxx:167]: (style) Unused variable: xplanes_data
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/absCal_Diblocks.cxx:167]: (style) Unused variable: yplanes_data
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/absCal_Diblocks.cxx:168]: (style) Unused variable: cont_data
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/absCal_Diblocks.cxx:168]: (style) Unused variable: nhits_data
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/absCal_Diblocks.cxx:168]: (style) Unused variable: hitId_data
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/absCal_Diblocks.cxx:454]: (style) Variable 'C' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/fennec/FennecFnc.h:553] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/fennec/FennecFnc.h:556]: (error) Possible null pointer dereference: data - otherwise it is redundant to check it against null.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/fennec/FennecFnc.h:555] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/fennec/FennecFnc.h:558]: (error) Possible null pointer dereference: mc - otherwise it is redundant to check it against null.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/fennec/FennecPlot.h:235] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/fennec/FennecPlot.h:240]: (performance) Variable 'minX' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/fennec/FennecPlot.h:235] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/fennec/FennecPlot.h:241]: (performance) Variable 'maxX' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/fennec/FennecPlot.h:235] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/fennec/FennecPlot.h:242]: (performance) Variable 'maxY' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/fennec/FennecPlot.h:550]: (style) The scope of the variable 'canv_fit_pecm_time_flatW_xview_DB' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/fennec/FennecPlot.h:551]: (style) The scope of the variable 'canv_fit_pecm_time_flatW_yview_DB' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/fennec/FennecPlot.h:552]: (style) The scope of the variable 'tptX_DB' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/fennec/FennecPlot.h:553]: (style) The scope of the variable 'tptY_DB' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/fennec/Fennec.h:257]: (style) Variable 'mevErr' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/fennec/FennecPlot.h:100]: (style) Unused variable: histName
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/lowLevelPlots.cxx:152]: (style) Variable 'hitId_data' is not assigned a value.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/lowLevelPlots.cxx:194]: (error) Uninitialized variable: hitId_data
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/pimpCOLZ.cxx:74]: (style) Variable 'fdmcg100' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/pimpCOLZ.cxx:79]: (style) Variable 'hfdmc_gain100_PECorrWY1' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/plot_abstree.C:77]: (style) Variable 'SelectPDG' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/plot_abstree.C:265]: (style) Variable 'w_x_cut_min' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/plot_abstree.C:265]: (style) Variable 'w_x_cut_max' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/plot_abstree.C:1029]: (error) Uninitialized variable: recoGeV
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/plot_abstree.C:1018]: (error) Uninitialized variable: xDir
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/plot_abstree.C:1018]: (error) Uninitialized variable: yDir
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/absolute/plot_abstree.C:1018]: (error) Uninitialized variable: zDir
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/assessment/PEResponse_module.cc:335]: (style) The scope of the variable 'offset' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/assessment/PEResponse_module.cc:184]: (error) Memory leak: hxname
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/assessment/PEResponse_module.cc:184]: (error) Memory leak: hyname
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/assessment/PEResponse_module.cc:184]: (error) Memory leak: htitle
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/assessment/PEResponse_module.cc:270]: (error) Memory leak: htitle
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/assessment/PEResponse_module.cc:270]: (error) Memory leak: hname
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/assessment/ParticleCorrections_module.cc:118] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/assessment/ParticleCorrections_module.cc:120]: (error) Possible null pointer dereference: part - otherwise it is redundant to check it against null.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/assessment/StopperThreshold_module.cc:1023]: (style) The scope of the variable 'otherview' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/assessment/StopperThreshold_module.cc:1024]: (style) The scope of the variable 'sign' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/assessment/StopperThreshold_module.cc:367]: (performance) Checking for 'trajPoints' emptiness might be inefficient. Using trajPoints.empty() instead of trajPoints.size() can be faster. trajPoints.size() can take linear time but trajPoints.empty() is guaranteed to take constant time.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/attenuation/AttenuationFit_plugin.cc:1489] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/attenuation/AttenuationFit_plugin.cc:1492]: (performance) Variable 'plotsDirectory' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/attenuation/AttenuationFit_plugin.cc:424]: (style) Variable 'PESum' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/attenuation/AttenuationFit_plugin.cc:425]: (style) Variable 'PECount' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/attenuation/AttenuationFit_plugin.cc:426]: (style) Variable 'MeVSum' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/attenuation/AttenuationFit_plugin.cc:427]: (style) Variable 'MeVCount' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/attenuation/AttenuationFit_plugin.cc:1562]: (error) Memory leak: lowess
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/attenuation/MakeAttenuationProfiles_plugin.cc:611] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/attenuation/MakeAttenuationProfiles_plugin.cc:610]: (style) Finding the same code in an 'if' and related 'else' branch is suspicious and might indicate a cut and paste or logic error. Please examine this code carefully to determine if it is correct.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/attenuation/MakeAttenuationProfiles_plugin.cc:407]: (style) The scope of the variable 'plane' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/attenuation/MakeAttenuationProfiles_plugin.cc:408]: (style) The scope of the variable 'cell' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/attenuation/MakeAttenuationProfiles_plugin.cc:409]: (style) The scope of the variable 'cellId' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/calibana/DrawUtils.h:112]: (style) Statements following return, break, continue, goto or throw will never be executed.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/calibana/DrawUtils.h:113]: (style) Statements following return, break, continue, goto or throw will never be executed.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/calibana/CheckBrightnessModel.C:132]: (style) The scope of the variable 'nBins' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/calibana/CalibAnaPlot.h:342]: (style) Variable 'isMC' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/calibana/DrawUtils.h:34]: (performance) When an object of a class is created, the constructors of all member variables are called consecutively in the order the variables are declared, even if you don't explicitly write them to the initialization list. You could avoid assigning 'name' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/calibana/DrawUtils.h:35]: (performance) When an object of a class is created, the constructors of all member variables are called consecutively in the order the variables are declared, even if you don't explicitly write them to the initialization list. You could avoid assigning 'legLabel' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/calibana/DrawUtils.h:42]: (performance) When an object of a class is created, the constructors of all member variables are called consecutively in the order the variables are declared, even if you don't explicitly write them to the initialization list. You could avoid assigning 'file' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/calibana/DrawUtils.h:43]: (performance) When an object of a class is created, the constructors of all member variables are called consecutively in the order the variables are declared, even if you don't explicitly write them to the initialization list. You could avoid assigning 'name' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/calibana/DrawUtils.h:44]: (performance) When an object of a class is created, the constructors of all member variables are called consecutively in the order the variables are declared, even if you don't explicitly write them to the initialization list. You could avoid assigning 'legLabel' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/calibana/CalibAnaPlot.h:14]: (style) 'class CalibAnaPlot' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/calibana/MakeValidCalibPDF.C:1001]: (style) The scope of the variable 'nBins' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/calibana/MakeValidCalibPDF.C:899]: (style) Variable 'b_i' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/drift/DriftCorrection_module.cc:465]: (style) The scope of the variable 'run_n' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/drift/DriftCorrection_module.cc:532]: (style) The scope of the variable 'runnum' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/drift/DriftCorrection_module.cc:688]: (style) The scope of the variable 'chanid' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/drift/DriftCorrection_module.cc:689]: (style) The scope of the variable 'meansum' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/drift/DriftCorrection_module.cc:689]: (style) The scope of the variable 'nsum' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/drift/DriftCorrection_module.cc:689]: (style) The scope of the variable 'newmean' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/drift/DriftCorrection_module.cc:732]: (style) The scope of the variable 'det' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/drift/DriftCorrection_module.cc:732]: (style) The scope of the variable 'diblock' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/drift/DriftCorrection_module.cc:732]: (style) The scope of the variable 'dcm' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/drift/DriftCorrection_module.cc:732]: (style) The scope of the variable 'feb' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/drift/DriftResponseCalc_module.cc:454]: (style) The scope of the variable 'fChanId' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/drift/DriftResponseCalc_module.cc:281]: (performance) Checking for 'mMeanPeXY' emptiness might be inefficient. Using mMeanPeXY.empty() instead of mMeanPeXY.size() can be faster. mMeanPeXY.size() can take linear time but mMeanPeXY.empty() is guaranteed to take constant time.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/legacy/AttenFit_module.cc:970]: (error) Memory leak: lowess
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/legacy/CosmicCalib_module.cc:593] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/legacy/CosmicCalib_module.cc:592]: (style) Finding the same code in an 'if' and related 'else' branch is suspicious and might indicate a cut and paste or logic error. Please examine this code carefully to determine if it is correct.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/legacy/CosmicCalib_module.cc:291]: (style) The scope of the variable 'plane' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/legacy/CosmicCalib_module.cc:292]: (style) The scope of the variable 'cell' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/legacy/CosmicCalib_module.cc:293]: (style) The scope of the variable 'cellId' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/macros/DCMOffsetCalculator.C:304]: (style) Unused variable: dcmHits
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/macros/DCMOffsetCalculator.C:430]: (style) Variable 'y' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/macros/attenuation_calibration_comparisons.C:147]: (style) Variable 'h2D_2' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/macros/attenuation_calibration_comparisons.C:398]: (style) Variable 'x_bins' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/macros/attenuation_calibration_comparisons.C:402]: (style) Variable 'x_bins' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/macros/attenuation_calibration_comparisons.C:320]: (error) Uninitialized variable: fit1
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/macros/attenuation_calibration_comparisons.C:326]: (error) Uninitialized variable: fit1
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/macros/attenuation_calibration_comparisons.C:330]: (error) Uninitialized variable: fit1
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/macros/attenuation_calibration_comparisons_withfb.C:1157]: (style) Variable 'chisq_char' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/macros/attenuation_calibration_comparisons_withfb.C:955]: (error) Uninitialized variable: x_limit
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/macros/attenuation_calibration_comparisons_withfb_temp.C:1106]: (style) The scope of the variable 'fit2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/macros/attenuation_calibration_comparisons_withfb_temp.C:1244]: (style) Variable 'cMeanRatio' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/macros/attenuation_calibration_comparisons_withfb_temp.C:1245]: (style) Variable 'cFitMean' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/macros/attenuation_calibration_comparisons_withfb_temp.C:1246]: (style) Variable 'cFitMeanRatio' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/macros/attenuation_calibration_comparisons_withfb_temp.C:1490]: (style) Variable 'chisq_char' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/macros/attenuation_calibration_comparisons_withfb_temp.C:981]: (error) Uninitialized variable: x_limit
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/macros/avgefficiency.C:111]: (style) Variable 'c1' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/macros/avgefficiency.C:116]: (style) Variable 'c2' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/macros/avgefficiency.C:121]: (style) Variable 'c3' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/macros/avgefficiency.C:234]: (style) Variable 'c4' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/macros/avgefficiency.C:247]: (style) Variable 'c5' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/macros/avgefficiency.C:272]: (style) Variable 'c6' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/macros/avgefficiency.C:285]: (style) Variable 'c7' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/macros/avgefficiency.C:301]: (style) Variable 'c8' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/macros/avgefficiency.C:305]: (style) Variable 'c9' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/macros/avgefficiency.C:309]: (style) Variable 'c10' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/macros/avgefficiency.C:319]: (style) Variable 'c11' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/macros/avgefficiency.C:323]: (style) Variable 'c12' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/macros/avgefficiency.C:327]: (style) Variable 'c13' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/macros/avgefficiency.C:337]: (style) Variable 'c14' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/macros/avgefficiency.C:341]: (style) Variable 'c15' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/macros/avgefficiency.C:345]: (style) Variable 'c16' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/macros/fit_thresh_corrs.C:299] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/macros/fit_thresh_corrs.C:302]: (performance) Variable 'startpow' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/macros/fit_thresh_corrs.C:300] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/macros/fit_thresh_corrs.C:304]: (performance) Variable 'coeff' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/macros/fit_thresh_corrs.C:303] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/macros/fit_thresh_corrs.C:306]: (performance) Variable 'endpow' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/macros/fit_thresh_corrs.C:304] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/macros/fit_thresh_corrs.C:308]: (performance) Variable 'coeff' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/macros/fit_thresh_corrs.C:296]: (style) Variable 'wpow' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/macros/fit_thresh_corrs.C:297]: (style) Variable 'cellpow' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/macros/fit_thresh_corrs.C:298]: (style) Variable 'modpow' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/macros/fit_thresh_corrs.C:302]: (style) Variable 'startpow' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/macros/fit_thresh_corrs.C:307]: (style) Variable 'midpow' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/macros/fit_thresh_corrs.C:306]: (style) Variable 'endpow' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/macros/fit_thresh_corrs.C:308]: (style) Variable 'coeff' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/macros/fit_thresh_corrs.C:199]: (style) Variable 'f_correction' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/macros/fit_thresh_corrs_fb.C:260]: (style) Variable 'wpow' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/macros/fit_thresh_corrs_fb.C:261]: (style) Variable 'cellpow' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/macros/fit_thresh_corrs_fb.C:263]: (style) Variable 'coeff' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/macros/fit_thresh_corrs_fb.C:175]: (style) Variable 'NaTree' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/macros/fit_thresh_corrs_fb.C:176]: (style) Variable 'NbTree' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/macros/fit_thresh_corrs_fb.C:177]: (style) Variable 'NflagTree' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/macros/plot_assess.C:55]: (style) Unused variable: loop
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/macros/plot_assess_pretty_nd.C:261] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/macros/plot_assess_pretty_nd.C:259]: (style) Finding the same code in an 'if' and related 'else' branch is suspicious and might indicate a cut and paste or logic error. Please examine this code carefully to determine if it is correct.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/macros/plot_assess_pretty_nd.C:31]: (style) Variable 'muoncatcher' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/macros/plot_assess_pretty_nd.C:130]: (style) Variable 'leg_recotrue' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/macros/plot_assess_pretty_nd.C:131]: (style) Variable 'leg_recotrue' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/macros/plot_timing_resolution.C:111]: (style) The scope of the variable 'maxbin' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/macros/plot_timing_resolution.C:104]: (style) Unused variable: yvec
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/macros/plot_timing_resolution.C:105]: (style) Unused variable: xvec
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/macros/plot_timing_resolution.C:121]: (style) Variable 'maxbin' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/stdcandles/Calibration_dict.cc:378]: (error) No pair for character ('). Can't process file. File is either invalid or unicode, which is currently not supported.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/stdcandles/EnergyStandardCandles_module.cc:597] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/stdcandles/EnergyStandardCandles_module.cc:599]: (error) Possible null pointer dereference: parentParticle - otherwise it is redundant to check it against null.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/stdcandles/EnergyStandardCandles_module.cc:332]: (performance) Parameter 'stoppingMu' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/stdcandles/EnergyStandardCandles_module.cc:585]: (performance) Parameter 'stoppingMu' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/timing/DCMTimingOffset_module.cc:500]: (style) The scope of the variable 'runDCM' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/timing/DCMTimingOffset_module.cc:501]: (style) The scope of the variable 'runDCMOffset' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/timing/DCMTimingOffset_module.cc:502]: (style) The scope of the variable 'runDCMOffsetE' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/timing/DCMTimingOffset_module.cc:503]: (style) The scope of the variable 'runDCMStats' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/utils/laserTableSurfaceAnalysisB.cc:267]: (style) The scope of the variable 'npoints' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/utils/laserTableSurfaceAnalysisB.cc:281]: (style) The scope of the variable 'ymid' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.

CalibrationUtils

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CalibrationUtils/CalibUtil.cxx:583]: (style) The scope of the variable 'repeatIntersection' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.

CalibrationDataProducts

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CalibrationDataProducts/CalibrationDataProducts_dict.cc:4178]: (error) No pair for character ('). Can't process file. File is either invalid or unicode, which is currently not supported.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CalibrationDataProducts/TCTrack.cxx:325]: (style) The scope of the variable 'x1' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CalibrationDataProducts/TCTrack.cxx:325]: (style) The scope of the variable 'y1' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.

Calibrator

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibrator/art/Calibrator.h:260]: (style) 'class Calibrator' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibrator/func/DriftCache.cxx:108]: (performance) The conversion from const char* as returned by c_str() to std::string creates an unnecessary string copy. Solve that by directly returning the string.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibrator/standalone/genADCShapeFitLookupTable.cc:141]: (style) Variable 'good' is assigned a value that is never used.

CelestialLocator

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/CelestialLocator.h:29]: (style) 'class CelestialLocator' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:4859] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:4873]: (performance, inconclusive) Variable 'xx' is reassigned a value before the old one has been used. Make sure that this variable is not used like a semaphore in a threading environment before simplifying this code.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:4863] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:4874]: (performance, inconclusive) Variable 'yy' is reassigned a value before the old one has been used. Make sure that this variable is not used like a semaphore in a threading environment before simplifying this code.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:4867] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:4875]: (performance, inconclusive) Variable 'zz' is reassigned a value before the old one has been used. Make sure that this variable is not used like a semaphore in a threading environment before simplifying this code.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:1380]: (style) The scope of the variable 'deltara' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:1380]: (style) The scope of the variable 'deltadec' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:1593]: (style) The scope of the variable 'vsb' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:1596]: (style) The scope of the variable 'dt' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:1596]: (style) The scope of the variable 'pos4' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:2398]: (style) The scope of the variable 'pos0' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:2582]: (style) The scope of the variable 'j' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:2586]: (style) The scope of the variable 'zd0' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:2586]: (style) The scope of the variable 'zd1' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:2586]: (style) The scope of the variable 'refr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:2586]: (style) The scope of the variable 'sinzd' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:2586]: (style) The scope of the variable 'coszd' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:2586]: (style) The scope of the variable 'sinzd0' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:2586]: (style) The scope of the variable 'coszd0' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:2586]: (style) The scope of the variable 'pr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:2837]: (style) The scope of the variable 'pos2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:3031]: (style) The scope of the variable 'jd_last' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:3368]: (style) The scope of the variable 'j' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:3371]: (style) The scope of the variable 'v3' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:3371]: (style) The scope of the variable 'v4' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:3610]: (style) The scope of the variable 'j' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:3807]: (style) The scope of the variable 'angr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:3807]: (style) The scope of the variable 'cosang' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:3807]: (style) The scope of the variable 'sinang' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:4544]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:4544]: (style) The scope of the variable 'j' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:4546]: (style) The scope of the variable 'fa' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:4546]: (style) The scope of the variable 'fa2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:4546]: (style) The scope of the variable 's0' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:4546]: (style) The scope of the variable 's1' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:4546]: (style) The scope of the variable 'a' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:4552]: (style) The scope of the variable 'ke0_t' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:4591]: (style) The scope of the variable 'ke1' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:4598]: (style) The scope of the variable 'se0_t' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:4636]: (style) The scope of the variable 'se1' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:4846]: (style) The scope of the variable 'xi0' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:4847]: (style) The scope of the variable 'eta0' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:4848]: (style) The scope of the variable 'da0' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:5599]: (style) The scope of the variable 'body_name' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:5610]: (style) The scope of the variable 'dlt' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:5610]: (style) The scope of the variable 'tclose' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:5837]: (style) The scope of the variable 'fac1' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:5837]: (style) The scope of the variable 'fac2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:5837]: (style) The scope of the variable 'p2i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:6392]: (style) The scope of the variable 'eps0' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:6393]: (style) The scope of the variable 'psia' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:6393]: (style) The scope of the variable 'omegaa' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:6393]: (style) The scope of the variable 'chia' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:6393]: (style) The scope of the variable 'sa' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:6393]: (style) The scope of the variable 'ca' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:6393]: (style) The scope of the variable 'sb' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:6393]: (style) The scope of the variable 'cb' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:6393]: (style) The scope of the variable 'sc' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:6393]: (style) The scope of the variable 'cc' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:6393]: (style) The scope of the variable 'sd' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:6393]: (style) The scope of the variable 'cd' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:6696]: (style) The scope of the variable 'low_acc_choice' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:7468]: (style) The scope of the variable 'p' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:7470]: (style) The scope of the variable 'cio_size' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:7474]: (style) The scope of the variable 'cio_file' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:7691]: (style) The scope of the variable 'z0' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:7919]: (style) The scope of the variable 'n_swap' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:7919]: (style) The scope of the variable 'n_read' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:7919]: (style) The scope of the variable 'j' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:7922]: (style) The scope of the variable 't_temp' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:7922]: (style) The scope of the variable 'ra_temp' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:7924]: (style) The scope of the variable 'long_size' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:8219]: (style) The scope of the variable 'acc_last' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:8221]: (style) The scope of the variable 't_last' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:8363]: (style) The scope of the variable 'sun_pos' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:8363]: (style) The scope of the variable 'sun_vel' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:9161]: (style) The scope of the variable 's' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:9162]: (style) The scope of the variable 'p' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:9162]: (style) The scope of the variable 't' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:9162]: (style) The scope of the variable 'h' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/novas.c:9162]: (style) The scope of the variable 'r' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/eph_manager.c:129]: (style) The scope of the variable 'ttl' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/eph_manager.c:129]: (style) The scope of the variable 'cnam' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/eph_manager.c:131]: (style) The scope of the variable 'i' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/eph_manager.c:131]: (style) The scope of the variable 'j' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/eph_manager.c:712]: (style) The scope of the variable 'rec' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/nutation.c:3091]: (style) The scope of the variable 'arg' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/nutation.c:3091]: (style) The scope of the variable 'sarg' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CelestialLocator/novas/nutation.c:3091]: (style) The scope of the variable 'carg' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.

ChannelInfo

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ChannelInfo/BadChanList_service.cc:139]: (style) The scope of the variable 'dib' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ChannelInfo/BadChanList_service.cc:139]: (style) The scope of the variable 'dcm' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ChannelInfo/BadChanList.h:73]: (style) Unused private function: 'BadChanList::LoadCosmicEff'
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ChannelInfo/BadChanValidate_module.cc:151]: (error) Memory leak: htitledb
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ChannelInfo/BadChanValidate_module.cc:151]: (error) Memory leak: htitleom
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ChannelInfo/BadChanValidate_module.cc:151]: (error) Memory leak: hnamedb
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ChannelInfo/BadChanValidate_module.cc:151]: (error) Memory leak: hnameom
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ChannelInfo/ChannelInfo_dict.cc:563]: (error) No pair for character ('). Can't process file. File is either invalid or unicode, which is currently not supported.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ChannelInfo/OnMonAna/getBadChanValidation.cc:678]: (error) Mismatching allocation and deallocation: htitledb
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ChannelInfo/OnMonAna/getBadChanValidation.cc:679]: (error) Mismatching allocation and deallocation: htitleom
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ChannelInfo/OnMonAna/getBadChanValidation.cc:680]: (error) Mismatching allocation and deallocation: hnamedb
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ChannelInfo/OnMonAna/getBadChanValidation.cc:681]: (error) Mismatching allocation and deallocation: hnameom
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ChannelInfo/OnMonAna/getBadChanValidation.cc:682]: (error) Mismatching allocation and deallocation: hnamedf
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ChannelInfo/OnMonAna/getBadChanValidation.cc:683]: (error) Mismatching allocation and deallocation: htitledf
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ChannelInfo/OnMonAna/stats.C:97]: (style) Variable 'counter' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ChannelInfo/OnMonAna/stats.C:80]: (style) Variable 'counterTotal' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ChannelInfo/OnMonAna/updateRunHistoryTables.cc:162]: (style) The scope of the variable 'foundSMALLFile' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.

CMap

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CMap/service/CMap_service.cc:67]: (style) The scope of the variable 'row' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CMap/testCMap.cc:89]: (style) The scope of the variable 'row' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.

Commissioning

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/CanaFilter_module.cc:97]: (style) The scope of the variable 'isgoodtrk' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Cana_module.cc:297]: (style) The scope of the variable 'nhitwin' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Commissioning_dict.cc:577]: (error) No pair for character ('). Can't process file. File is either invalid or unicode, which is currently not supported.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/CosmicMetrics_module.cc:192]: (style) The scope of the variable 'TNS' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/DataCheck_module.cc:665] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/DataCheck_module.cc:668]: (performance) Variable 'nbinx' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/DataCheck_module.cc:300]: (style) The scope of the variable 'cell' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/DataCheck_module.cc:300]: (style) The scope of the variable 'plane' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/BuildMetricsTree_OnMon.C:964]: (error) Mismatching allocation and deallocation: x
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/BuildMetricsTree_OnMon.C:1033]: (error) Mismatching allocation and deallocation: dbpass
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/BuildMetricsTree_OnMon.C:1032]: (error) Mismatching allocation and deallocation: dbcstr
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/CleanupPrelim.C:6]: (style) The scope of the variable 'thisId' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/CleanupTree.C:6]: (style) The scope of the variable 'thisId' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/FarDet/BuildMetricsTree_OnMon.C:1034]: (error) Mismatching allocation and deallocation: x
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/FarDet/BuildMetricsTree_OnMon.C:1103]: (error) Mismatching allocation and deallocation: dbpass
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/FarDet/BuildMetricsTree_OnMon.C:1102]: (error) Mismatching allocation and deallocation: dbcstr
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/FarDet/CleanupPrelim.C:27]: (style) The scope of the variable 'thisId' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/FarDet/CleanupTree.C:27]: (style) The scope of the variable 'thisId' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/FarDet/SAMScripts/GetManualSubruns.C:15]: (style) Variable 'runtemp' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/FarDet/WebPlots/GoodDataSelDate.C:42]: (style) Variable 'ltx' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/FarDet/WebPlots/GoodDataSelDate.C:109]: (style) Variable 'tbin' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/FarDet/WebPlots/GoodDataSelDate.C:45]: (error) Memory leak: ltx
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/FarDet/WebPlots/GoodDataSelGoodDB.C:44]: (style) Variable 'ltx' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/FarDet/WebPlots/GoodDataSelGoodDB.C:85]: (style) Variable 'mint' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/FarDet/WebPlots/GoodDataSelGoodDB.C:114]: (style) Variable 'tdiv' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/FarDet/WebPlots/GoodDataSelGoodDB.C:113]: (style) Variable 'tbin' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/FarDet/WebPlots/GoodDataSelGoodDB.C:47]: (error) Memory leak: ltx
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/FarDet/WebPlots/GoodDataSelLiveTime.C:44]: (style) Variable 'ltx' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/FarDet/WebPlots/GoodDataSelLiveTime.C:83]: (style) Variable 'mint' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/FarDet/WebPlots/GoodDataSelLiveTime.C:112]: (style) Variable 'tdiv' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/FarDet/WebPlots/GoodDataSelLiveTime.C:111]: (style) Variable 'tbin' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/FarDet/WebPlots/GoodDataSelLiveTime.C:47]: (error) Memory leak: ltx
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/FarDet/WebPlots/GoodDataSelMipRate.C:43]: (style) Variable 'ltx' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/FarDet/WebPlots/GoodDataSelMipRate.C:84]: (style) Variable 'mint' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/FarDet/WebPlots/GoodDataSelMipRate.C:113]: (style) Variable 'tdiv' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/FarDet/WebPlots/GoodDataSelMipRate.C:112]: (style) Variable 'tbin' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/FarDet/WebPlots/GoodDataSelMipRate.C:46]: (error) Memory leak: ltx
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/FarDet/WebPlots/GoodDataSelNumSlices.C:43]: (style) Variable 'ltx' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/FarDet/WebPlots/GoodDataSelNumSlices.C:83]: (style) Variable 'mint' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/FarDet/WebPlots/GoodDataSelNumSlices.C:112]: (style) Variable 'tdiv' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/FarDet/WebPlots/GoodDataSelNumSlices.C:111]: (style) Variable 'tbin' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/FarDet/WebPlots/GoodDataSelNumSlices.C:46]: (error) Memory leak: ltx
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/FarDet/WebPlots/GoodDataSelRuns.C:44]: (style) Variable 'ltx' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/FarDet/WebPlots/GoodDataSelRuns.C:85]: (style) Variable 'mint' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/FarDet/WebPlots/GoodDataSelRuns.C:115]: (style) Variable 'tdiv' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/FarDet/WebPlots/GoodDataSelRuns.C:114]: (style) Variable 'tbin' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/FarDet/WebPlots/GoodDataSelRuns.C:47]: (error) Memory leak: ltx
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/FarDet/WebPlots/GoodDataSelTrkFrac.C:44]: (style) Variable 'ltx' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/FarDet/WebPlots/GoodDataSelTrkFrac.C:85]: (style) Variable 'mint' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/FarDet/WebPlots/GoodDataSelTrkFrac.C:114]: (style) Variable 'tdiv' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/FarDet/WebPlots/GoodDataSelTrkFrac.C:113]: (style) Variable 'tbin' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/FarDet/WebPlots/GoodDataSelTrkFrac.C:47]: (error) Memory leak: ltx
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/FarDet/WebPlots/SetupHistos.C:307]: (style) Variable 'ex' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/FarDet/WebPlots/PlotDB_Web.C:66]: (style) Variable 'mint' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/FarDet/WebPlots/PlotDB_Web.C:92]: (style) Variable 'tbin' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/FarDet/WebPlots/PlotEfficiency.C:28]: (style) Variable 'ltx' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/FarDet/WebPlots/PlotEfficiency.C:30]: (error) Memory leak: ltx
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/FarDet/database/CondenseDetCfg.C:67]: (style) Variable 'tnow' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/FarDet/database/FindNewDQRuns.C:107]: (style) The scope of the variable 'samechannel' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/FarDet/database/FindNewDQRuns.C:107]: (style) The scope of the variable 'changedchannel' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/FarDet/database/FindNewDQRuns.C:118]: (style) Variable 'j' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/FarDet/database/MakeDQValidityCSV.C:43]: (style) The scope of the variable 'badrun' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/FarDet/database/MakeDQValidityCSV.C:84]: (style) The scope of the variable 'flaglo' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/FarDet/database/ValidateDBMasks.C:117]: (style) Variable 'numnotfound' is not assigned a value.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/FarDet/database/ValidateDBMasks.C:118]: (style) Variable 'numnotmatch' is not assigned a value.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/FarDet/database/ValidateDBMasks.C:157]: (error) Uninitialized variable: numnotfound
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/FarDet/database/ValidateDBMasks.C:165]: (error) Uninitialized variable: numnotmatch
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/FarDet/runlists/CondenseRunList.C:176]: (style) Variable 'diffstart' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/FarDet/runlists/CondenseRunList.C:177]: (style) Variable 'diffstop' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/FarDet/runlists/MakeRunList.C:88]: (style) Variable 'is_FHC_period' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/GetManualSubruns.C:15]: (style) Variable 'runtemp' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/NearDet/BuildMetricsTree_OnMon.C:360]: (style) The scope of the variable 'nGoodPixInFEB' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/NearDet/BuildMetricsTree_OnMon.C:238]: (style) Variable 'par' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/NearDet/BuildMetricsTree_OnMon.C:257]: (style) Variable 'duration' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/NearDet/BuildMetricsTree_OnMon.C:485]: (style) Variable 'hitrate' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/NearDet/BuildMetricsTree_OnMon.C:478]: (style) Variable 'mipasym' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/NearDet/BuildMetricsTree_OnMon.C:510]: (style) Variable 'miprate' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/NearDet/BuildMetricsTree_OnMon.C:449]: (style) Variable 'MIPTopSideSym' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/NearDet/BuildMetricsTree_OnMon.C:539]: (style) Variable 'goodbeam' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/NearDet/BuildMetricsTree_OnMon.C:486]: (style) Variable 'hitratepotscaled' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/NearDet/BuildMetricsTree_OnMon.C:604]: (style) Variable 'corrupted' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/NearDet/BuildMetricsTree_OnMon.C:531]: (style) Variable 'procsec' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/NearDet/BuildMetricsTree_OnMon.C:290]: (style) Variable 'preliminary' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/NearDet/CleanupPrelim.C:6]: (style) The scope of the variable 'thisId' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/NearDet/CleanupTree.C:6]: (style) The scope of the variable 'thisId' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/NearDet/WebPlots/GoodDataSelDate.C:44]: (style) Variable 'ltx' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/NearDet/WebPlots/GoodDataSelDate.C:47]: (error) Memory leak: ltx
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/NearDet/WebPlots/GoodDataSelDuration.C:44]: (style) Variable 'ltx' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/NearDet/WebPlots/GoodDataSelDuration.C:125]: (style) Variable 'tdiv' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/NearDet/WebPlots/GoodDataSelDuration.C:124]: (style) Variable 'tbin' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/NearDet/WebPlots/GoodDataSelDuration.C:47]: (error) Memory leak: ltx
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/NearDet/WebPlots/GoodDataSelEmptySpillFrac.C:44]: (style) Variable 'ltx' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/NearDet/WebPlots/GoodDataSelEmptySpillFrac.C:125]: (style) Variable 'tdiv' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/NearDet/WebPlots/GoodDataSelEmptySpillFrac.C:124]: (style) Variable 'tbin' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/NearDet/WebPlots/GoodDataSelEmptySpillFrac.C:47]: (error) Memory leak: ltx
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/NearDet/WebPlots/GoodDataSelGoodDB.C:43]: (style) Variable 'ltx' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/NearDet/WebPlots/GoodDataSelGoodDB.C:124]: (style) Variable 'tdiv' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/NearDet/WebPlots/GoodDataSelGoodDB.C:123]: (style) Variable 'tbin' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/NearDet/WebPlots/GoodDataSelGoodDB.C:46]: (error) Memory leak: ltx
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/NearDet/WebPlots/GoodDataSelMipRate.C:44]: (style) Variable 'ltx' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/NearDet/WebPlots/GoodDataSelMipRate.C:125]: (style) Variable 'tdiv' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/NearDet/WebPlots/GoodDataSelMipRate.C:124]: (style) Variable 'tbin' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/NearDet/WebPlots/GoodDataSelMipRate.C:47]: (error) Memory leak: ltx
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/NearDet/WebPlots/GoodDataSelNumSlices.C:44]: (style) Variable 'ltx' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/NearDet/WebPlots/GoodDataSelNumSlices.C:125]: (style) Variable 'tdiv' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/NearDet/WebPlots/GoodDataSelNumSlices.C:124]: (style) Variable 'tbin' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/NearDet/WebPlots/GoodDataSelNumSlices.C:47]: (error) Memory leak: ltx
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/NearDet/WebPlots/GoodDataSelRuns.C:43]: (style) Variable 'ltx' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/NearDet/WebPlots/GoodDataSelRuns.C:123]: (style) Variable 'tdiv' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/NearDet/WebPlots/GoodDataSelRuns.C:122]: (style) Variable 'tbin' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/NearDet/WebPlots/GoodDataSelRuns.C:46]: (error) Memory leak: ltx
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/NearDet/WebPlots/GoodDataSelTimingPeakEnd.C:44]: (style) Variable 'ltx' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/NearDet/WebPlots/GoodDataSelTimingPeakEnd.C:125]: (style) Variable 'tdiv' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/NearDet/WebPlots/GoodDataSelTimingPeakEnd.C:124]: (style) Variable 'tbin' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/NearDet/WebPlots/GoodDataSelTimingPeakEnd.C:47]: (error) Memory leak: ltx
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/NearDet/WebPlots/GoodDataSelTimingPeakStart.C:44]: (style) Variable 'ltx' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/NearDet/WebPlots/GoodDataSelTimingPeakStart.C:124]: (style) Variable 'tdiv' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/NearDet/WebPlots/GoodDataSelTimingPeakStart.C:123]: (style) Variable 'tbin' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/NearDet/WebPlots/GoodDataSelTimingPeakStart.C:47]: (error) Memory leak: ltx
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/NearDet/WebPlots/PlotEfficiency.C:30]: (style) Variable 'ltx' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/NearDet/WebPlots/PlotEfficiency.C:33]: (error) Memory leak: ltx
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/NearDet/database/FindNewDQRunsND.C:154]: (style) The scope of the variable 'samechannel' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/NearDet/database/FindNewDQRunsND.C:154]: (style) The scope of the variable 'changedchannel' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/NearDet/database/FindNewDQRunsND.C:172]: (style) Variable 'changedchannel' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/NearDet/database/MakeDQValidityCSVND.C:51]: (style) The scope of the variable 'badrun' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/NearDet/database/MakeDQValidityCSVND.C:90]: (style) The scope of the variable 'flaglo' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/NearDet/database/MakeDQValidityCSVND.C:118]: (style) Variable 'mymip' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/NearDet/runlists/MakeRunList.C:80]: (style) Variable 'is_RHC_period' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/HwDetLabel.cxx:130]: (style) The scope of the variable 't' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/HwDetLabel.cxx:149]: (style) The scope of the variable 't' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/nova/app/users/jcoelho/SetupHistos.C:313]: (style) Variable 'ex' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/PlotOnMon.C:63]: (error) Memory leak: c1
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/PlotOnMon.C:99]: (error) Memory leak: ltx
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/ProduceBadRunsByFailureMode.C:40]: (error) syntax error
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/StableScripts/BuildMetricsTree_OnMon.C:353]: (style) The scope of the variable 'nGoodPixInFEB' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/StableScripts/BuildMetricsTree_OnMon.C:219]: (style) Variable 'par' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/StableScripts/BuildMetricsTree_OnMon.C:238]: (style) Variable 'duration' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/StableScripts/BuildMetricsTree_OnMon.C:471]: (style) Variable 'hitrate' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/StableScripts/BuildMetricsTree_OnMon.C:464]: (style) Variable 'mipasym' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/StableScripts/BuildMetricsTree_OnMon.C:496]: (style) Variable 'miprate' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/StableScripts/BuildMetricsTree_OnMon.C:435]: (style) Variable 'MIPTopSideSym' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/StableScripts/BuildMetricsTree_OnMon.C:525]: (style) Variable 'goodbeam' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/StableScripts/BuildMetricsTree_OnMon.C:472]: (style) Variable 'hitratepotscaled' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/StableScripts/BuildMetricsTree_OnMon.C:590]: (style) Variable 'corrupted' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/StableScripts/BuildMetricsTree_OnMon.C:517]: (style) Variable 'procsec' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/StableScripts/BuildMetricsTree_OnMon.C:283]: (style) Variable 'preliminary' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/StableScripts/CleanupPrelim.C:6]: (style) The scope of the variable 'thisId' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/StableScripts/CleanupTree.C:6]: (style) The scope of the variable 'thisId' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Leana_module.cc:97]: (style) The class 'Leana' is unsafe, wrong usage can cause memory/resource leaks for 'Leana::fNt'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/AnaPlotMaker.C:1576]: (warning) %d in format string (no. 3) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/AnaPlotMaker.C:1862] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/AnaPlotMaker.C:1861]: (style) Finding the same code in an 'if' and related 'else' branch is suspicious and might indicate a cut and paste or logic error. Please examine this code carefully to determine if it is correct.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/AnaPlotMaker.C:2052] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/AnaPlotMaker.C:2051]: (style) Finding the same code in an 'if' and related 'else' branch is suspicious and might indicate a cut and paste or logic error. Please examine this code carefully to determine if it is correct.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/AnaPlotMaker.C:1442]: (style) The scope of the variable 'maxtime' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/AnaPlotMaker.C:1443]: (style) The scope of the variable 'max' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/AnaPlotMaker.C:1443]: (style) The scope of the variable 'ave' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/AnaPlotMaker.C:131]: (style) Variable 'N_diblock' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/AnaPlotMaker.C:794]: (style) Variable 'NTrackLenAll3DDayCount' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/AnaPlotMaker.C:479]: (style) Unused variable: lastevt
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/AnaPlotMaker.C:497]: (style) Unused variable: Lastevt
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/AnaPlotMaker.C:501]: (style) Unused variable: ptime
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/AnaPlotMaker.C:503]: (style) Unused variable: dcm
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/AnaPlotMaker.C:3335]: (style) Variable 'cellmin_local' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/AnaPlotMaker.C:3336]: (style) Variable 'cellmax_local' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/AnaPlotMaker.C:3341]: (style) Variable 'wavglength' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/AnaPlotMaker.C:3346]: (style) Unused variable: hmod_name
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/AnaPlotMaker.C:3454]: (style) Variable 'totcell' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/AnaPlotMaker.C:3455]: (style) Variable 'tothit' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/AnaPlotMaker.C:3462]: (style) Variable 'w' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/CheckTrueDate.C:42]: (style) Variable 'LastRun' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/CheckTrueDate.C:43]: (style) Variable 'LastSR' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/CheckTrueDate.C:49]: (style) Variable 'SRdur' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/CheckTrueDate.C:56]: (style) Variable 'Npoint' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/CheckTrueDate.C:57]: (style) Variable 'time' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/DCSPlots/DCSPlotMaker.C:532]: (warning) sprintf format string has 1 parameters but 2 are given.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/DCSPlots/DCSPlotMaker.C:545]: (warning) sprintf format string has 0 parameters but 1 are given.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/DCSPlots/DCSPlotMaker.C:551]: (warning) sprintf format string has 0 parameters but 1 are given.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/DCSPlots/DCSPlotMaker.C:557]: (warning) sprintf format string has 0 parameters but 1 are given.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/DCSPlots/DCSPlotMaker.C:567]: (warning) sprintf format string has 0 parameters but 1 are given.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/DCSPlots/DCSPlotMaker.C:573]: (warning) sprintf format string has 0 parameters but 1 are given.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/DCSPlots/DCSPlotMaker.C:579]: (warning) sprintf format string has 0 parameters but 1 are given.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/DCSPlots/DCSPlotMaker.C:589]: (warning) sprintf format string has 0 parameters but 1 are given.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/DCSPlots/DCSPlotMaker.C:595]: (warning) sprintf format string has 0 parameters but 1 are given.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/DCSPlots/DCSPlotMaker.C:601]: (warning) sprintf format string has 0 parameters but 1 are given.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/DCSPlots/DCSPlotMaker.C:611]: (warning) sprintf format string has 0 parameters but 1 are given.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/DCSPlots/DCSPlotMaker.C:617]: (warning) sprintf format string has 0 parameters but 1 are given.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/DCSPlots/DCSPlotMaker.C:623]: (warning) sprintf format string has 0 parameters but 1 are given.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/DCSPlots/DCSPlotMaker.C:149] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/DCSPlots/DCSPlotMaker.C:150]: (performance) Variable 'g1' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/DCSPlots/DCSPlotMaker.C:340] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/DCSPlots/DCSPlotMaker.C:341]: (performance) Variable 'g1' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/DCSPlots/DCSPlotMaker.C:35]: (style) The scope of the variable 'axis' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/DCSPlots/DCSPlotMaker.C:35]: (style) The scope of the variable 'zoomaxis' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/DCSPlots/DCSPlotMaker.C:125]: (style) The scope of the variable 'buff1' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/DCSPlots/DCSPlotMaker.C:514]: (style) The scope of the variable 'col' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/DCSPlots/DCSPlotMaker.C:515]: (style) The scope of the variable 'col2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/DCSPlots/DCSPlotMaker.C:48]: (style) Variable 'c0' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/DCSPlots/DCSPlotMaker.C:255]: (style) Variable 'c0' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/DCSPlots/DCSPlotMaker.C:516]: (style) Variable 'mark' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/DDTModularPlotFunctions.h:148]: (warning) %d in format string (no. 1) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/DDTModularPlotFunctions.h:148]: (warning) %d in format string (no. 2) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/DDTOnMonPlotMaker.C:299]: (style) Variable 'time' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/DDTOnMonPlotMaker.C:356]: (style) Variable 'SRTime' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/DDTOnMonPlotMaker.C:323]: (error) Uninitialized variable: filenameD
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/DDTOnMonPlotMaker.C:382]: (error) Uninitialized variable: filenameD
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/DSOPlotMaker.C:110]: (style) The scope of the variable 'thenum' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/DSOPlotMaker.C:115]: (style) The scope of the variable 'ret_status' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/DSOPlotMaker.C:283]: (error) Resource leak: infile
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/DSOPlotMaker.C:86]: (error) Uninitialized variable: aDiblock
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/DSOPlotMaker.C:86]: (error) Uninitialized variable: aDCM
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/DSOPlotMaker.C:86]: (error) Uninitialized variable: anFEB
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:259]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:260]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:261]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:262]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:290]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:291]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:292]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:713]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:762]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:812]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:862]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:1009]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:1060]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:1112]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:258]: (style) Unused variable: title4
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:161]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:162]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:163]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:164]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:167]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:168]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:169]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:171]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:172]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:173]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:174]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:175]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:176]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:177]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:178]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:181]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:182]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:183]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:184]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:185]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:187]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:188]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:189]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:190]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:193]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:194]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:195]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:197]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:198]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:199]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:200]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:201]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:202]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:206]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:487]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:171]: (error) Uninitialized variable: DCM_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:172]: (error) Uninitialized variable: DCM_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:173]: (error) Uninitialized variable: DCM_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:174]: (error) Uninitialized variable: DCM_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:175]: (error) Uninitialized variable: DCM_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:176]: (error) Uninitialized variable: DCM_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:177]: (error) Uninitialized variable: DCM_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:178]: (error) Uninitialized variable: DCM_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:181]: (error) Uninitialized variable: DCM_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:182]: (error) Uninitialized variable: DCM_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:183]: (error) Uninitialized variable: DCM_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:184]: (error) Uninitialized variable: DCM_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:185]: (error) Uninitialized variable: DCM_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:187]: (error) Uninitialized variable: DCM_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:188]: (error) Uninitialized variable: DCM_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:189]: (error) Uninitialized variable: DCM_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:190]: (error) Uninitialized variable: DCM_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:193]: (error) Uninitialized variable: DCM_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:194]: (error) Uninitialized variable: DCM_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:195]: (error) Uninitialized variable: DCM_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:197]: (error) Uninitialized variable: DCM_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:198]: (error) Uninitialized variable: DCM_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:199]: (error) Uninitialized variable: DCM_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:200]: (error) Uninitialized variable: DCM_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:201]: (error) Uninitialized variable: DCM_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:202]: (error) Uninitialized variable: DCM_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/HWwatchlist.C:214]: (error) Uninitialized variable: DCM_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/OnMonPlotMaker.C:1072]: (warning) %d in format string (no. 1) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/OnMonPlotMaker.C:1072]: (warning) %d in format string (no. 2) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/OnMonPlotMaker.C:991]: (style) The scope of the variable 'Zerodcm' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/OnMonPlotMaker.C:1087]: (style) The scope of the variable 'currentTime' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/OnMonPlotMaker.C:1090]: (style) The scope of the variable 'current' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/OnMonPlotMaker.C:1090]: (style) The scope of the variable 'ave' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/OnMonPlotMaker.C:898]: (style) Variable 'hFEBRateSpec' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/OnMonPlotMaker.C:1397]: (style) Variable 'lmax' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/OnMonPlotMaker.C:2048]: (style) Variable 'spillNumiDiffThreshold' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/TimingPlots/SpillMessage.cxx:28]: (style) Variable 'spillTypeSpillType' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/Utilities/FindNearlineFiles.cc:45]: (style) The scope of the variable 'kIsDirectory' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/Utilities/FindNearlineFiles.cc:46]: (style) The scope of the variable 'kDirectoryMatchesPattern' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/Utilities/FindNearlineFiles.cc:83]: (style) The scope of the variable 'kIsRegularFile' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/Utilities/FindNearlineFiles.cc:84]: (style) The scope of the variable 'kHasCorrectExtention' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/Utilities/FindNearlineFiles.cc:85]: (style) The scope of the variable 'kFromDesiredStream' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/Utilities/FindNearlineFiles.cc:86]: (style) The scope of the variable 'kFilenameFitsForm' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/Utilities/FindNearlineFiles.cc:87]: (style) The scope of the variable 'kIsRecentEnough' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:264]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:265]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:266]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:267]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:295]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:296]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:297]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:718]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:767]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:817]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:867]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:1014]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:1065]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:1117]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:263]: (style) Unused variable: title4
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:166]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:167]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:168]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:169]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:172]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:173]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:174]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:176]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:177]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:178]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:179]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:180]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:181]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:182]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:183]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:186]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:187]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:188]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:189]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:190]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:192]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:193]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:194]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:195]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:198]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:199]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:200]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:202]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:203]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:204]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:205]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:206]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:207]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:211]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:492]: (error) Uninitialized variable: DB_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:176]: (error) Uninitialized variable: DCM_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:177]: (error) Uninitialized variable: DCM_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:178]: (error) Uninitialized variable: DCM_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:179]: (error) Uninitialized variable: DCM_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:180]: (error) Uninitialized variable: DCM_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:181]: (error) Uninitialized variable: DCM_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:182]: (error) Uninitialized variable: DCM_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:183]: (error) Uninitialized variable: DCM_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:186]: (error) Uninitialized variable: DCM_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:187]: (error) Uninitialized variable: DCM_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:188]: (error) Uninitialized variable: DCM_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:189]: (error) Uninitialized variable: DCM_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:190]: (error) Uninitialized variable: DCM_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:192]: (error) Uninitialized variable: DCM_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:193]: (error) Uninitialized variable: DCM_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:194]: (error) Uninitialized variable: DCM_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:195]: (error) Uninitialized variable: DCM_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:198]: (error) Uninitialized variable: DCM_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:199]: (error) Uninitialized variable: DCM_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:200]: (error) Uninitialized variable: DCM_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:202]: (error) Uninitialized variable: DCM_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:203]: (error) Uninitialized variable: DCM_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:204]: (error) Uninitialized variable: DCM_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:205]: (error) Uninitialized variable: DCM_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:206]: (error) Uninitialized variable: DCM_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:207]: (error) Uninitialized variable: DCM_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/makeHWwatchlist.C:219]: (error) Uninitialized variable: DCM_size
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/validation/Nearline_Watchdog_Plots.C:15]: (style) Variable 'SRtime' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/validation/Nearline_Watchdog_Plots.C:23]: (style) Variable 'XDayAgo' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/validation/Nearline_Watchdog_Plots.C:24]: (style) Variable 'XWeekAgo' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/validation/Nearline_Watchdog_Plots.C:25]: (style) Variable 'XMonthAgo' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/validation/Nearline_Watchdog_Plots.C:26]: (style) Variable 'Xsrtime' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/validation/Nearline_Watchdog_Plots.C:27]: (style) Variable 'time_ago' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/validation/Nearline_Watchdog_Plots.C:29]: (style) Variable 'year' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/validation/Nearline_Watchdog_Plots.C:30]: (style) Variable 'month' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/validation/Nearline_Watchdog_Plots.C:31]: (style) Variable 'day' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/validation/Nearline_Watchdog_Plots.C:32]: (style) Variable 'Hour' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/validation/Nearline_Watchdog_Plots.C:33]: (style) Variable 'Min' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/validation/Nearline_Watchdog_Plots.C:34]: (style) Variable 'hour' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/validation/Nearline_Watchdog_Plots.C:35]: (style) Variable 'min' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/validation/Nearline_Watchdog_Plots.C:36]: (style) Variable 'sec' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/validation/Nearline_Watchdog_Plots.C:38]: (style) Variable 'run' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/validation/Nearline_Watchdog_Plots.C:39]: (style) Variable 'subrun' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/validation/Nearline_Watchdog_Plots.C:42]: (style) Variable 'LastRun' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/validation/Nearline_Watchdog_Plots.C:43]: (style) Variable 'LastSR' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/validation/Nearline_Watchdog_Plots.C:45]: (style) Variable 'yearEnd' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/validation/Nearline_Watchdog_Plots.C:46]: (style) Variable 'monthEnd' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/validation/Nearline_Watchdog_Plots.C:47]: (style) Variable 'dayEnd' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/validation/Nearline_Watchdog_Plots.C:48]: (style) Variable 'HourEnd' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/validation/Nearline_Watchdog_Plots.C:49]: (style) Variable 'SRdur' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/NearlineAna_module.cc:1056] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/NearlineAna_module.cc:1078]: (performance) Variable 'NumHitsX' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/NearlineAna_module.cc:1057] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/NearlineAna_module.cc:1079]: (performance) Variable 'NumHitsY' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/NearlineAna_module.cc:1292] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/NearlineAna_module.cc:1294]: (performance) Variable 'angle' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/NearlineAna_module.cc:1398] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/NearlineAna_module.cc:1400]: (performance) Variable 'angle' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/APDPlots.C:128]: (style) The scope of the variable 'tpix' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/APDPlots.C:128]: (style) The scope of the variable 'tnh' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/APDPlots.C:128]: (style) The scope of the variable 'tchan' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/APDPlots.C:128]: (style) The scope of the variable 'ttn' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/APDPlots.C:128]: (style) The scope of the variable 'telapse' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/APDPlots.C:129]: (style) The scope of the variable 'tpe' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/APDPlots.C:129]: (style) The scope of the variable 'tpec' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/APDPlots.C:129]: (style) The scope of the variable 'tnn' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/APDPlots.C:129]: (style) The scope of the variable 'trh' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/APDPlots.C:129]: (style) The scope of the variable 'trl' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/APDPlots.C:129]: (style) The scope of the variable 'tpesq' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/APDPlots.C:129]: (style) The scope of the variable 'tpecorrsq' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/APDPlots.C:130]: (style) The scope of the variable 'ttave' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/APDPlots.C:130]: (style) The scope of the variable 'ttmin' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/APDPlots.C:130]: (style) The scope of the variable 'ttmax' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/APDPlots.C:146]: (style) Variable 'tchan' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/BuildMetricsTree.C:82] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/BuildMetricsTree.C:83]: (performance) Variable 'dbpass' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/BuildMetricsTree.C:149] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/BuildMetricsTree.C:148]: (style) Finding the same code in an 'if' and related 'else' branch is suspicious and might indicate a cut and paste or logic error. Please examine this code carefully to determine if it is correct.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/BuildMetricsTree.C:83]: (error) Memory leak: dbpass
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/Cana.C:73]: (style) Variable 'h1' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/Cana.C:80]: (style) Variable 'hs' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/Cana.C:117]: (style) Variable 'h2' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/Cana.C:123]: (style) Variable 'h1' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/Cana.C:136]: (style) Variable 'h1' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/Cana.C:142]: (style) Variable 'h2' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/Cana.C:148]: (style) Variable 'h3' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/Cana.C:156]: (style) Variable 'h4' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/Cana.C:168]: (style) Variable 'h5' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/Cana.C:180]: (style) Variable 'h6' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/Cana.C:230]: (style) Variable 'h1' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/Cana.C:241]: (style) Variable 'h2' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/Cana.C:246]: (style) Variable 'h3' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/GoodRuns.C:83] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/GoodRuns.C:84]: (performance) Variable 'dbpass' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/GoodRuns.C:84]: (error) Memory leak: dbpass
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/NewNearlinePlots.C:87]: (style) Variable 'MinBin' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/NewNearlinePlots.C:88]: (style) Variable 'MaxBin' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/NewNearlinePlots.C:267]: (style) Variable 'filename' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/NewNearlinePlots.C:772]: (style) Variable 'bnb4' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/NewNearlinePlots.C:599]: (warning) Logical disjunction always evaluates to true: status != 2 || status != 5. Are these conditions necessary? Did you intend to use && instead? Are the numbers correct? Are you comparing the correct variables?
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/cana_time_peak.C:468]: (style) The scope of the variable 'ti' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/cana_time_peak.C:469]: (style) The scope of the variable 's' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/cana_time_peak.C:512]: (style) The scope of the variable 's' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/cana_time_peak.C:536]: (style) The scope of the variable 'ni' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/cana_time_peak.C:536]: (style) The scope of the variable 'nui' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/cana_time_peak.C:574]: (style) The scope of the variable 't0' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/cana_time_peak.C:591]: (style) Variable 'x' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/cana_time_peak.C:592]: (style) Variable 'y' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/leana.C:82]: (style) Variable 'nhith' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/leana.C:182]: (style) Variable 'dplanexh' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/leana.C:187]: (style) Variable 'dcellxh' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/leana.C:192]: (style) Variable 'dplaneyh' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/leana.C:197]: (style) Variable 'dcellyh' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/leana.C:211]: (style) Variable 'dplanexh' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/leana.C:216]: (style) Variable 'dcellxh' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/leana.C:221]: (style) Variable 'dplaneyh' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/leana.C:226]: (style) Variable 'dcellyh' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/leana.C:261]: (style) Variable 'goodclust_adch' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/leana.C:429]: (style) Variable 'c1' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/leana.C:437]: (style) Variable 'c2' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/leana.C:528]: (style) Variable 'c1' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/leana.C:536]: (style) Variable 'c2' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/leana.C:546]: (style) Variable 'c3' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/leana.C:554]: (style) Variable 'c4' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/leana.C:157]: (warning) Conversion of string literal "(nx+ny==2)" to bool always evaluates to true.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/leana.C:306]: (warning) Conversion of string literal "dstop<30.0&&t>40&&(qx+qy)>300" to bool always evaluates to true.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/leana.C:307]: (warning) Conversion of string literal "dstopna<30.0&&t>40&&(qx+py)>300" to bool always evaluates to true.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/leana.C:465]: (warning) Conversion of string literal "dperp<40" to bool always evaluates to true.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/macros/leana.C:466]: (warning) Conversion of string literal "dperpna<40" to bool always evaluates to true.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/rcplots/fdpots.C:150]: (style) Variable 'sum' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/rcplots/fdpots.C:176]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a%b?c:d'' should be written as either ''(a%b)?c:d'' or ''a%(b?c:d)''.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/rcplots/fdpots.C:177]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a%b?c:d'' should be written as either ''(a%b)?c:d'' or ''a%(b?c:d)''.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/rcplots/fduptime.C:120]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a%b?c:d'' should be written as either ''(a%b)?c:d'' or ''a%(b?c:d)''.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/rcplots/ndpots.C:150]: (style) Variable 'sum' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/rcplots/ndpots.C:176]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a%b?c:d'' should be written as either ''(a%b)?c:d'' or ''a%(b?c:d)''.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/rcplots/ndpots.C:177]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a%b?c:d'' should be written as either ''(a%b)?c:d'' or ''a%(b?c:d)''.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/rcplots/nduptime.C:120]: (style) Suspicious calculation. Please use parentheses to clarify the code. The code ''a%b?c:d'' should be written as either ''(a%b)?c:d'' or ''a%(b?c:d)''.

CosmicExposureInfo


CosmicRayVertex

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CosmicRayVertex/CosmicRayVertex_module.cc:105]: (style) The scope of the variable 'dir' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.

CosRej

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CosRej/CosRejFxs.cxx:46]: (style) The scope of the variable 'intercept' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CosRej/CosRejFxs.cxx:327]: (style) Unused variable: xhits
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CosRej/CosRejFxs.cxx:327]: (style) Unused variable: yhits
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CosRej/CosRejFxs.cxx:327]: (style) Unused variable: xhits2
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CosRej/CosRejFxs.cxx:327]: (style) Unused variable: yhits2
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CosRej/CosRej_dict.cc:2376]: (error) No pair for character ('). Can't process file. File is either invalid or unicode, which is currently not supported.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CosRej/CosRej_module.cc:392]: (style) The scope of the variable 'fwddist' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CosRej/CosRej_module.cc:392]: (style) The scope of the variable 'bakdist' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CosRej/CosRej_module.cc:392]: (style) The scope of the variable 'scatt' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CosRej/CosRej_module.cc:393]: (style) The scope of the variable 'fwdcell' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CosRej/CosRej_module.cc:393]: (style) The scope of the variable 'bakcell' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CosRej/CosRej_module.cc:394]: (style) The scope of the variable 'badtrack' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CosRej/CosRej_module.cc:700]: (style) The scope of the variable 'fslcCalEPerNHit' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CosRej/CosRej_module.cc:701]: (style) The scope of the variable 'fhadEPerNHit' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CosRej/CosRej_module.cc:620]: (style) Variable 'trids' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CosRej/MakeNueCosRej_module.cc:933]: (style) The scope of the variable 'sparsenessfront' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CosRej/MakeNueCosRej_module.cc:934]: (style) The scope of the variable 'sparsenessback' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Vars/GenieWeights.h:43]: (style) Statements following return, break, continue, goto or throw will never be executed.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CosRej/training/Ana18/trim_caf.C:165]: (style) Variable 'fntracks3d' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CosRej/training/Ana18/trim_caf.C:166]: (style) Variable 'fcosfwdcell' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CosRej/training/Ana18/trim_caf.C:167]: (style) Variable 'fcosbakcell' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CosRej/training/Ana18/trim_caf.C:168]: (style) Variable 'fkalfwdcell' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CosRej/training/Ana18/trim_caf.C:169]: (style) Variable 'fkalbakcell' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CosRej/training/Ana18/trim_caf.C:179]: (style) Variable 'fnhit' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CosRej/training/Ana18/trim_caf.C:174]: (style) Variable 'fnhitkal' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CosRej/training/Ana18/trim_caf.C:175]: (style) Variable 'fnhitcos' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CosRej/training/Ana18/trim_caf.C:156]: (style) Variable 'ftype' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CosRej/training/Ana18/trim_caf.C:161]: (style) Variable 'frun' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CosRej/training/Ana18/trim_caf.C:164]: (style) Variable 'fncontplanes' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CosRej/training/Ana18/trim_caf.C:162]: (style) Variable 'fev' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CosRej/training/Ana18/trim_caf.C:170]: (style) Variable 'fmaxy' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CosRej/training/Ana18/trim_caf.C:171]: (style) Variable 'fminy' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CosRej/training/Ana18/trim_caf.C:172]: (style) Variable 'fanglekal' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CosRej/training/Ana18/trim_caf.C:173]: (style) Variable 'fanglecos' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CosRej/training/Ana18/trim_caf.C:177]: (style) Variable 'fkaldiry' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CosRej/training/Ana18/trim_caf.C:178]: (style) Variable 'fcosdiry' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CosRej/training/Ana18/trim_caf.C:183]: (style) Variable 'fscatt' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CosRej/training/Ana18/trim_caf.C:184]: (style) Variable 'fvisE' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CosRej/training/Ana18/trim_caf.C:176]: (style) Variable 'fremid' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CosRej/training/Ana18/trim_caf.C:180]: (style) Variable 'fvtxX' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CosRej/training/Ana18/trim_caf.C:181]: (style) Variable 'fvtxY' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CosRej/training/Ana18/trim_caf.C:182]: (style) Variable 'fvtxZ' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CosRej/training/Ana18/trim_caf.C:186]: (style) Variable 'fHadE' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CosRej/training/Ana18/trim_caf.C:157]: (style) Variable 'fmisse' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CosRej/training/Ana18/trim_caf.C:158]: (style) Variable 'ftrueE' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CosRej/training/Ana18/trim_caf.C:155]: (style) Variable 'fosc' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CosRej/training/Ana18/trim_caf.C:163]: (style) Variable 'ftracklen' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CosRej/training/Ana18/trim_caf.C:185]: (style) Variable 'foldbdt' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CosRej/training/Ana18/trim_caf.C:187]: (style) Variable 'fcvnnumu' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CosRej/training/Ana18/trim_caf.C:188]: (style) Variable 'fcvncosmic' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CosRej/training/Ana18/trim_caf.C:189]: (style) Variable 'fpngptp' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CosRej/training/Ana18/trim_caf.C:190]: (style) Variable 'fcdirscore' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Core/ISyst.h:23]: (style) 'ISyst::operator=' should return 'ISyst &'.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CosRej/training/Ana20/CalcCutValsPlot.C:214]: (error) Uninitialized variable: TempHist
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CosRej/training/Ana20/TrimCAFs.C:136]: (style) Variable 'HadEFracQuantCuts' is assigned a value that is never used.

CVN

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/art/CVNAddTrainingData_module.cc:299]: (style) The scope of the variable 'length' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/art/CVNAddTrainingData_module.cc:302]: (style) The scope of the variable 'angle' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/art/CVNAddTrainingData_module.cc:211]: (style) Unused variable: records
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/art/RegPixelMapProducer.cxx:182]: (performance) Parameter 'showers3D' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/func/AssignLabels.cxx:1013]: (style) The scope of the variable 'parentpdg' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/func/AssignLabels.cxx:889]: (style) Variable 'totalPur' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/func/AssignLabels.cxx:1170]: (style) Variable 'totalPur' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/func/AssignLabels.cxx:1198]: (style) Variable 'totalPurX' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/func/AssignLabels.cxx:1225]: (style) Variable 'totalPurY' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/func/AssignLabels.cxx:1303]: (style) Unused variable: parents
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/func/AssignLabels.cxx:1343]: (style) Unused variable: purMap
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/func/AssignLabels.cxx:1344]: (style) Unused variable: parents
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/func/AssignLabels.cxx:1426]: (style) Unused variable: parents
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/func/AssignLabels.cxx:1466]: (style) Unused variable: purMap
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/func/AssignLabels.cxx:1467]: (style) Unused variable: parents
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/func/CVNFunc_dict.cc:10584]: (error) No pair for character ('). Can't process file. File is either invalid or unicode, which is currently not supported.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/func/PixelMap.cxx:69]: (style) The scope of the variable 'scale' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/func/RegCVNImageUtils.h:63]: (style) Unused private function: 'RegCVNImageUtils::ReverseView'
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Vars/GenieWeights.h:43]: (style) Statements following return, break, continue, goto or throw will never be executed.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/macros/nue_pid_effs.C:608]: (style) The scope of the variable 'x1' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/macros/nue_pid_effs.C:609]: (style) The scope of the variable 'y1' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/macros/nue_pid_effs.C:610]: (style) The scope of the variable 'x2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/macros/nue_pid_effs.C:611]: (style) The scope of the variable 'y2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/macros/nue_pid_effs.C:677]: (warning) The expression 'true' is of type 'bool' and it is compared against an integer value.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/macros/nue_pid_effs.C:614]: (style) Variable 'x1' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/macros/nue_pid_effs.C:615]: (style) Variable 'y1' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/macros/nue_pid_effs.C:616]: (style) Variable 'x2' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/macros/nue_pid_effs.C:617]: (style) Variable 'y2' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/macros/nue_pid_effs_miniprod.C:624]: (style) The scope of the variable 'x1' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/macros/nue_pid_effs_miniprod.C:625]: (style) The scope of the variable 'y1' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/macros/nue_pid_effs_miniprod.C:626]: (style) The scope of the variable 'x2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/macros/nue_pid_effs_miniprod.C:627]: (style) The scope of the variable 'y2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/macros/nue_pid_effs_miniprod.C:700]: (warning) The expression 'true' is of type 'bool' and it is compared against an integer value.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/macros/nue_pid_effs_miniprod.C:630]: (style) Variable 'x1' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/macros/nue_pid_effs_miniprod.C:631]: (style) Variable 'y1' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/macros/nue_pid_effs_miniprod.C:632]: (style) Variable 'x2' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/macros/nue_pid_effs_miniprod.C:633]: (style) Variable 'y2' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/macros/nue_pid_effs_paper_numu_neweff.C:605]: (warning) The expression 'true' is of type 'bool' and it is compared against an integer value.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/macros/numu_cut_flow.C:224]: (style) Variable 'name' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/macros/numu_cut_flow.C:242]: (style) Variable 'name' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Core/ISyst.h:23]: (style) 'ISyst::operator=' should return 'ISyst &'.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/macros/plot_nuCrystalBall.C:626]: (style) The scope of the variable 'x1' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/macros/plot_nuCrystalBall.C:627]: (style) The scope of the variable 'y1' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/macros/plot_nuCrystalBall.C:628]: (style) The scope of the variable 'x2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/macros/plot_nuCrystalBall.C:629]: (style) The scope of the variable 'y2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/macros/plot_nuCrystalBall.C:734]: (warning) The expression 'true' is of type 'bool' and it is compared against an integer value.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/macros/plot_nuCrystalBall.C:183]: (style) Variable 'effxpur' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/macros/plot_nuCrystalBall.C:220]: (style) Variable 'effpurGraph' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/macros/plot_nuCrystalBall.C:221]: (style) Variable 'rocGraph' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/macros/plot_nuCrystalBall.C:222]: (style) Variable 'fompur_SoB' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/macros/plot_nuCrystalBall.C:223]: (style) Variable 'fomeff_SoB' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/macros/plot_nuCrystalBall.C:224]: (style) Variable 'fompur_SoSB' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/macros/plot_nuCrystalBall.C:225]: (style) Variable 'fomeff_SoSB' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/macros/plot_nuCrystalBall.C:231]: (style) Variable 'bestBkgCC' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/macros/plot_nuCrystalBall.C:232]: (style) Variable 'bestBeam' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/macros/plot_nuCrystalBall.C:235]: (style) Unused variable: fomeff
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/macros/plot_nuCrystalBall.C:235]: (style) Unused variable: fompur
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/macros/plot_nuCrystalBall.C:632]: (style) Variable 'x1' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/macros/plot_nuCrystalBall.C:633]: (style) Variable 'y1' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/macros/plot_nuCrystalBall.C:634]: (style) Variable 'x2' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/macros/plot_nuCrystalBall.C:635]: (style) Variable 'y2' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/macros/plot_nuCrystalBall.C:732]: (style) Unused variable: predDefs
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/training/testing/confusionMatrix.C:33]: (style) The scope of the variable 'chosenlabel' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/training/testing/confusionMatrixProng.C:197] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/training/testing/confusionMatrixProng.C:201]: (performance) Variable 'output' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/training/testing/confusionMatrixProng.C:55]: (style) The scope of the variable 'chosenlabel' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/training/testing/confusionMatrixProng.C:118]: (style) Variable 'y' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/training/testing/confusionMatrixProng.C:119]: (style) Variable 'x' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/training/testing/confusionMatrixProng.C:143]: (error) Array 'interaction[5]' accessed at index 5, which is out of bounds.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/training/testing/confusionMatrixProng.C:144]: (error) Array 'interaction[5]' accessed at index 5, which is out of bounds.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CVN/training/testing/confusionMatrixProng.C:145]: (error) Array 'interaction[5]' accessed at index 5, which is out of bounds.

DAQ2RawDigit

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/DAQ2RawDigit/testbeam/BeamlineUnpack.cxx:330]: (performance) Parameter 'tduFrags' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.

Database

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Database/cxx/src/Table.cpp:1783]: (style) Defensive programming: The variable 'ic' is used as an array index before it is check that is within limits. This can mean that the array might be accessed out of bounds. Reorder conditions such as '(a[i] && i < 10)' to '(i < 10 && a[i])'. That way the array will not be accessed if the index is out of limits.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Database/cxx/src/Table.cpp:46]: (performance) When an object of a class is created, the constructors of all member variables are called consecutively in the order the variables are declared, even if you don't explicitly write them to the initialization list. You could avoid assigning 'fTableName' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Database/cxx/src/Table.cpp:49]: (performance) When an object of a class is created, the constructors of all member variables are called consecutively in the order the variables are declared, even if you don't explicitly write them to the initialization list. You could avoid assigning 'fDetector' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Database/cxx/src/Table.cpp:50]: (performance) When an object of a class is created, the constructors of all member variables are called consecutively in the order the variables are declared, even if you don't explicitly write them to the initialization list. You could avoid assigning 'fDBHost' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Database/cxx/src/Table.cpp:51]: (performance) When an object of a class is created, the constructors of all member variables are called consecutively in the order the variables are declared, even if you don't explicitly write them to the initialization list. You could avoid assigning 'fDBName' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Database/cxx/src/Table.cpp:52]: (performance) When an object of a class is created, the constructors of all member variables are called consecutively in the order the variables are declared, even if you don't explicitly write them to the initialization list. You could avoid assigning 'fDBPort' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Database/cxx/src/Table.cpp:53]: (performance) When an object of a class is created, the constructors of all member variables are called consecutively in the order the variables are declared, even if you don't explicitly write them to the initialization list. You could avoid assigning 'fUser' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Database/cxx/src/Table.cpp:54]: (performance) When an object of a class is created, the constructors of all member variables are called consecutively in the order the variables are declared, even if you don't explicitly write them to the initialization list. You could avoid assigning 'fSchema' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Database/cxx/src/Table.cpp:55]: (performance) When an object of a class is created, the constructors of all member variables are called consecutively in the order the variables are declared, even if you don't explicitly write them to the initialization list. You could avoid assigning 'fSubSchema' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Database/cxx/src/Table.cpp:111]: (performance) When an object of a class is created, the constructors of all member variables are called consecutively in the order the variables are declared, even if you don't explicitly write them to the initialization list. You could avoid assigning 'fTableName' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Database/cxx/src/Table.cpp:114]: (performance) When an object of a class is created, the constructors of all member variables are called consecutively in the order the variables are declared, even if you don't explicitly write them to the initialization list. You could avoid assigning 'fDetector' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Database/cxx/src/Table.cpp:115]: (performance) When an object of a class is created, the constructors of all member variables are called consecutively in the order the variables are declared, even if you don't explicitly write them to the initialization list. You could avoid assigning 'fDBHost' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Database/cxx/src/Table.cpp:116]: (performance) When an object of a class is created, the constructors of all member variables are called consecutively in the order the variables are declared, even if you don't explicitly write them to the initialization list. You could avoid assigning 'fDBName' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Database/cxx/src/Table.cpp:117]: (performance) When an object of a class is created, the constructors of all member variables are called consecutively in the order the variables are declared, even if you don't explicitly write them to the initialization list. You could avoid assigning 'fDBPort' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Database/cxx/src/Table.cpp:118]: (performance) When an object of a class is created, the constructors of all member variables are called consecutively in the order the variables are declared, even if you don't explicitly write them to the initialization list. You could avoid assigning 'fUser' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Database/cxx/src/Table.cpp:119]: (performance) When an object of a class is created, the constructors of all member variables are called consecutively in the order the variables are declared, even if you don't explicitly write them to the initialization list. You could avoid assigning 'fSchema' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Database/cxx/src/Table.cpp:171]: (performance) When an object of a class is created, the constructors of all member variables are called consecutively in the order the variables are declared, even if you don't explicitly write them to the initialization list. You could avoid assigning 'fTableName' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Database/cxx/src/Table.cpp:174]: (performance) When an object of a class is created, the constructors of all member variables are called consecutively in the order the variables are declared, even if you don't explicitly write them to the initialization list. You could avoid assigning 'fDetector' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Database/cxx/src/Table.cpp:175]: (performance) When an object of a class is created, the constructors of all member variables are called consecutively in the order the variables are declared, even if you don't explicitly write them to the initialization list. You could avoid assigning 'fDBHost' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Database/cxx/src/Table.cpp:176]: (performance) When an object of a class is created, the constructors of all member variables are called consecutively in the order the variables are declared, even if you don't explicitly write them to the initialization list. You could avoid assigning 'fDBName' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Database/cxx/src/Table.cpp:177]: (performance) When an object of a class is created, the constructors of all member variables are called consecutively in the order the variables are declared, even if you don't explicitly write them to the initialization list. You could avoid assigning 'fDBPort' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Database/cxx/src/Table.cpp:178]: (performance) When an object of a class is created, the constructors of all member variables are called consecutively in the order the variables are declared, even if you don't explicitly write them to the initialization list. You could avoid assigning 'fUser' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Database/cxx/src/Table.cpp:179]: (performance) When an object of a class is created, the constructors of all member variables are called consecutively in the order the variables are declared, even if you don't explicitly write them to the initialization list. You could avoid assigning 'fSchema' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Database/cxx/src/Table.cpp:180]: (performance) When an object of a class is created, the constructors of all member variables are called consecutively in the order the variables are declared, even if you don't explicitly write them to the initialization list. You could avoid assigning 'fSubSchema' a value by passing the value to the constructor in the initialization list.

DataQuality

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Core/ISyst.h:23]: (style) 'ISyst::operator=' should return 'ISyst &'.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/DataQuality/BeamMonitoring/drawLongTerm.C:270]: (style) The scope of the variable 'dy' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/DataQuality/BeamMonitoring/drawLongTerm_2019.C:256]: (style) The scope of the variable 'dy' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/DataQuality/BeamMonitoring/drawLongTerm_2019.C:268]: (style) Unused variable: xMin
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/DataQuality/BeamMonitoring/drawLongTerm_2019.C:268]: (style) Unused variable: xMax
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/DataQuality/BeamMonitoring/drawTimePlots.C:186]: (style) The scope of the variable 'fLoad' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/DataQuality/BeamMonitoring/drawTimePlots.C:187]: (style) The scope of the variable 'hLoad' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/DataQuality/DAQHeader/DAQHeader_dict.cc:312]: (error) No pair for character ('). Can't process file. File is either invalid or unicode, which is currently not supported.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Vars/GenieWeights.h:43]: (style) Statements following return, break, continue, goto or throw will never be executed.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/DataQuality/TimePeak/Plots/CustomFunctions.h:123]: (style) The scope of the variable 'fSig' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/DataQuality/TimePeak/Plots/CustomFunctions.h:123]: (style) The scope of the variable 'fBKG' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/DataQuality/TimePeak/Plots/CustomFunctions.h:123]: (style) The scope of the variable 'fSigma' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/DataQuality/TimePeak/Plots/CustomFunctions.h:123]: (style) The scope of the variable 'fMCSig' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/DataQuality/TimePeak/Plots/CustomFunctions.h:123]: (style) The scope of the variable 'fMCSigma' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/DataQuality/TimePeak/Plots/CustomFunctions.h:123]: (style) The scope of the variable 'fErrUp' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/DataQuality/TimePeak/Plots/CustomFunctions.h:123]: (style) The scope of the variable 'fErrDown' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/DataQuality/TimePeak/Plots/CustomFunctions.h:306]: (style) The scope of the variable 'fSig' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/DataQuality/TimePeak/Plots/CustomFunctions.h:306]: (style) The scope of the variable 'fBKG' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/DataQuality/TimePeak/Plots/CustomFunctions.h:306]: (style) The scope of the variable 'fSigma' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/DataQuality/TimePeak/Plots/CustomFunctions.h:306]: (style) The scope of the variable 'fMCSig' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/DataQuality/TimePeak/Plots/CustomFunctions.h:306]: (style) The scope of the variable 'fMCSigma' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.

DDTAnalysis


DDTConverters


DDTEventDisplay


DDTMonopole

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/DDTMonopole/Cluster.cxx:89]: (style) Variable 'n_contained_hit' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/DDTMonopole/SlowMonopoleAna_module.cc:206]: (performance) Parameter 'name' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/DDTMonopole/SlowMonopoleAna_module.cc:206]: (performance) Parameter 'title' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/DDTMonopole/SlowMonopoleAna_module.cc:216]: (performance) Parameter 'name' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/DDTMonopole/SlowMonopoleAna_module.cc:216]: (performance) Parameter 'title' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/DDTMonopole/SlowMonopoleAna_module.cc:278]: (performance) Parameter 'branch_name' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/DDTMonopole/SlowMonopoleFilt_module.cc:201]: (performance) Parameter 'cluster_name' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/DDTMonopole/SlowMonopoleTrigger.cxx:187]: (style) Variable 'n_contained_hit' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/DDTMonopole/SlowMonopoleTrigger.cxx:69]: (performance) Parameter 'name' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/DDTMonopole/SlowMonopoleTrigger.cxx:79]: (performance) Parameter 'name' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.

DDTPrescaleOffline

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/producer/RawEventUnpacker.cxx:274]: (warning) The expression 'true' is of type 'bool' and it is compared against an integer value.

DDTTools

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/DDTTools/DDTHelpers.cxx:139]: (error) Division by zero.

Demo

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Vars/GenieWeights.h:43]: (style) Statements following return, break, continue, goto or throw will never be executed.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Core/ISyst.h:23]: (style) 'ISyst::operator=' should return 'ISyst &'.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Demo/Workshops/Reco2016/RecoValidationTutorial_module.cc:120]: (style) Variable 'sEffPur' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/joint_fit_2019_loader_tools.h:71]: (style) Suspicious expression. Boolean result is used in bitwise operation. The operator '!' and the comparison operators have higher precedence than bitwise operators. It is recommended that the expression is clarified with parentheses.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/joint_fit_2019_style_tools.h:48]: (style) Variable 'minX' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/joint_fit_2019_style_tools.h:49]: (style) Variable 'maxX' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/joint_fit_2019_style_tools.h:50]: (style) Variable 'widthX' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/joint_fit_2019_style_tools.h:51]: (style) Variable 'minY' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/joint_fit_2019_style_tools.h:52]: (style) Variable 'maxY' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/nue/Ana2019/joint_fit_2019_style_tools.h:53]: (style) Variable 'widthY' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Demo/Workshops/YoungNOvA2019/Tutorial2019FitContours.C:151]: (style) The scope of the variable 'nnumu' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Demo/Workshops/YoungNOvA2019/Tutorial2019FitContours.C:56]: (style) Variable 'white' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Demo/Workshops/YoungNOvA2019/Tutorial2019FitContours.C:251]: (style) Variable 'seedShifts' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Demo/Workshops/YoungNOvA2019/Tutorial2019FitContours.C:590]: (style) Variable 'isSysts' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Demo/Workshops/YoungNOvA2019/Tutorial2019FitContours.C:591]: (style) Variable 'isFccorr' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Demo/Workshops/YoungNOvA2019/Tutorial2019FitSlices.C:134]: (style) The scope of the variable 'nnumu' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Demo/Workshops/YoungNOvA2019/Tutorial2019FitSlices.C:260]: (style) Variable 'th23_old_seeds' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Demo/Workshops/YoungNOvA2019/Tutorial2019FitSlices.C:424]: (style) Variable 'minchi23' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Demo/tutCAFMacro.C:27]: (error) syntax error

DetectorPerformance

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/DetectorPerformance/ChannelPlots_module.cc:355]: (performance) Prefix ++/-- operators should be preferred for non-primitive types. Pre-increment/decrement can be more efficient than post-increment/decrement. Post-increment/decrement usually involves keeping a copy of the previous value around and adds a little extra code.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/DetectorPerformance/ChannelPlots_module.cc:394]: (performance) Prefix ++/-- operators should be preferred for non-primitive types. Pre-increment/decrement can be more efficient than post-increment/decrement. Post-increment/decrement usually involves keeping a copy of the previous value around and adds a little extra code.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/DetectorPerformance/ChannelPlots_module.cc:396]: (performance) Prefix ++/-- operators should be preferred for non-primitive types. Pre-increment/decrement can be more efficient than post-increment/decrement. Post-increment/decrement usually involves keeping a copy of the previous value around and adds a little extra code.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/DetectorPerformance/ChannelPlots_module.cc:401]: (performance) Prefix ++/-- operators should be preferred for non-primitive types. Pre-increment/decrement can be more efficient than post-increment/decrement. Post-increment/decrement usually involves keeping a copy of the previous value around and adds a little extra code.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/DetectorPerformance/ChannelPlots_module.cc:403]: (performance) Prefix ++/-- operators should be preferred for non-primitive types. Pre-increment/decrement can be more efficient than post-increment/decrement. Post-increment/decrement usually involves keeping a copy of the previous value around and adds a little extra code.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/DetectorPerformance/ChannelPlots_module.cc:411]: (performance) Prefix ++/-- operators should be preferred for non-primitive types. Pre-increment/decrement can be more efficient than post-increment/decrement. Post-increment/decrement usually involves keeping a copy of the previous value around and adds a little extra code.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/DetectorPerformance/ChannelPlots_module.cc:413]: (performance) Prefix ++/-- operators should be preferred for non-primitive types. Pre-increment/decrement can be more efficient than post-increment/decrement. Post-increment/decrement usually involves keeping a copy of the previous value around and adds a little extra code.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/DetectorPerformance/ChannelPlots_module.cc:418]: (performance) Prefix ++/-- operators should be preferred for non-primitive types. Pre-increment/decrement can be more efficient than post-increment/decrement. Post-increment/decrement usually involves keeping a copy of the previous value around and adds a little extra code.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/DetectorPerformance/ChannelPlots_module.cc:420]: (performance) Prefix ++/-- operators should be preferred for non-primitive types. Pre-increment/decrement can be more efficient than post-increment/decrement. Post-increment/decrement usually involves keeping a copy of the previous value around and adds a little extra code.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/DetectorPerformance/TrackPlots_module.cc:236]: (performance) Checking for 'fTracksOtherDCMRatio' emptiness might be inefficient. Using fTracksOtherDCMRatio.empty() instead of fTracksOtherDCMRatio.size() can be faster. fTracksOtherDCMRatio.size() can take linear time but fTracksOtherDCMRatio.empty() is guaranteed to take constant time.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/DetectorPerformance/TrackPlots_module.cc:241]: (performance) Prefix ++/-- operators should be preferred for non-primitive types. Pre-increment/decrement can be more efficient than post-increment/decrement. Post-increment/decrement usually involves keeping a copy of the previous value around and adds a little extra code.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/DetectorPerformance/TrackPlots_module.cc:254]: (performance) Prefix ++/-- operators should be preferred for non-primitive types. Pre-increment/decrement can be more efficient than post-increment/decrement. Post-increment/decrement usually involves keeping a copy of the previous value around and adds a little extra code.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/DetectorPerformance/TrackPlots_module.cc:261]: (performance) Prefix ++/-- operators should be preferred for non-primitive types. Pre-increment/decrement can be more efficient than post-increment/decrement. Post-increment/decrement usually involves keeping a copy of the previous value around and adds a little extra code.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/DetectorPerformance/TrackPlots_module.cc:392]: (performance) Prefix ++/-- operators should be preferred for non-primitive types. Pre-increment/decrement can be more efficient than post-increment/decrement. Post-increment/decrement usually involves keeping a copy of the previous value around and adds a little extra code.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/DetectorPerformance/TrackPlots_module.cc:397]: (performance) Prefix ++/-- operators should be preferred for non-primitive types. Pre-increment/decrement can be more efficient than post-increment/decrement. Post-increment/decrement usually involves keeping a copy of the previous value around and adds a little extra code.

DiFShowerFinder

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/DiFShowerFinder/DiFShowerFinder_module.cc:209]: (style) The scope of the variable 'disToBadX' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/DiFShowerFinder/DiFShowerFinder_module.cc:210]: (style) The scope of the variable 'disToBadY' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/DiFShowerFinder/DiFShowerFinder_module.cc:211]: (style) The scope of the variable 'disToBadZ' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/DiFShowerFinder/DiFShowerFinder_module.cc:213]: (style) The scope of the variable 'isCandTrack' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/DiFShowerFinder/DiFShowerFinder_module.cc:217]: (style) The scope of the variable 'startContained' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/DiFShowerFinder/DiFShowerFinder_module.cc:218]: (style) The scope of the variable 'endContained' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/DiFShowerFinder/DiFShowerFinder_module.cc:399]: (style) Variable 'maxPlane' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/DiFShowerFinder/DiFShowerFinder_module.cc:436]: (style) Variable 'minPlane' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/DiFShowerFinder/DiFShowerFinder_module.cc:474]: (style) Variable 'minPlane' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/DiFShowerFinder/DiFShowerFinder_module.cc:475]: (style) Variable 'maxPlane' is assigned a value that is never used.

DiscreteTracker


DiskUsage

cppcheck: No C or C++ source files found.

DQSpillFlags

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/DQSpillFlags/DQSpillFlags_module.cc:93]: (performance) When an object of a class is created, the constructors of all member variables are called consecutively in the order the variables are declared, even if you don't explicitly write them to the initialization list. You could avoid assigning 'fCellHitLabel' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/DQSpillFlags/DQSpillFlags_module.cc:94]: (performance) When an object of a class is created, the constructors of all member variables are called consecutively in the order the variables are declared, even if you don't explicitly write them to the initialization list. You could avoid assigning 'fSliceLabel' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/DQSpillFlags/DQSpillFlags_module.cc:95]: (performance) When an object of a class is created, the constructors of all member variables are called consecutively in the order the variables are declared, even if you don't explicitly write them to the initialization list. You could avoid assigning 'fTrackLabel' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/DQSpillFlags/DQSpillFlags_module.cc:96]: (performance) When an object of a class is created, the constructors of all member variables are called consecutively in the order the variables are declared, even if you don't explicitly write them to the initialization list. You could avoid assigning 'fRawDataLabel' a value by passing the value to the constructor in the initialization list.

DSOResultPlotter

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/DSOResultPlotter/cxx/src/plotDSOResult.cc:171]: (style) The scope of the variable 'pix' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.

ElasticArms

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ElasticArms/art/ElasticArmsHS_module.cc:264]: (style) The scope of the variable 'hx' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ElasticArms/art/GridSearch.cxx:81]: (style) The scope of the variable 'ix' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ElasticArms/art/GridSearch.cxx:82]: (style) The scope of the variable 'iy' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ElasticArms/art/GridSearch.cxx:232]: (style) The scope of the variable 'x' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ElasticArms/art/GridSearch.cxx:232]: (style) The scope of the variable 'y' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ElasticArms/art/GridSearch.cxx:232]: (style) The scope of the variable 'z' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ElasticArms/art/GridSearch.cxx:233]: (style) The scope of the variable 'r' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ElasticArms/art/GridSearch.cxx:233]: (style) The scope of the variable 'phi' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ElasticArms/art/GridSearch.cxx:264]: (style) The scope of the variable 'dot' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ElasticArms/func/ElasticArms.cxx:264]: (style) The scope of the variable 'sVia' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ElasticArms/func/Minimizer.cxx:118]: (warning) %d in format string (no. 1) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ElasticArms/func/Minimizer.cxx:119]: (warning) %d in format string (no. 1) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ElasticArms/func/Minimizer.cxx:31]: (style) The scope of the variable 'theta' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ElasticArms/func/Minimizer.cxx:31]: (style) The scope of the variable 'phi' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.

EliminateBeamSpills


Eval

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Eval/Eval_dict.cc:826]: (error) No pair for character ('). Can't process file. File is either invalid or unicode, which is currently not supported.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Eval/MoonShadowAnaHough_module.cc:434] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Eval/MoonShadowAnaHough_module.cc:435]: (performance) Variable 'htmp' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Eval/MoonShadowAna_module.cc:391] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Eval/MoonShadowAna_module.cc:392]: (performance) Variable 'htmp' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Eval/SlicerEva_module.cc:175]: (style) Variable 'e_dep' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Eval/UpMuAna_module.cc:723] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Eval/UpMuAna_module.cc:724]: (performance, inconclusive) Variable 'P_dn' is reassigned a value before the old one has been used. Make sure that this variable is not used like a semaphore in a threading environment before simplifying this code.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Eval/UpMuAna_module.cc:203]: (style) Unused variable: planesAndCells
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Eval/UpMuAnalysis_module.cc:303]: (style) The scope of the variable 'mvalX' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Eval/UpMuAnalysis_module.cc:303]: (style) The scope of the variable 'cvalX' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Eval/UpMuAnalysis_module.cc:303]: (style) The scope of the variable 'mvalY' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Eval/UpMuAnalysis_module.cc:303]: (style) The scope of the variable 'cvalY' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Eval/UpMuAnalysis_module.cc:371]: (performance) Checking for 'sortedTrackHits' emptiness might be inefficient. Using sortedTrackHits.empty() instead of sortedTrackHits.size() can be faster. sortedTrackHits.size() can take linear time but sortedTrackHits.empty() is guaranteed to take constant time.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Eval/UpMuRecoAna_module.cc:667]: (style) Unused variable: michelElectrons
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Eval/UpMuRecoAna_module.cc:494]: (performance) Checking for 'sortedTrackHits' emptiness might be inefficient. Using sortedTrackHits.empty() instead of sortedTrackHits.size() can be faster. sortedTrackHits.size() can take linear time but sortedTrackHits.empty() is guaranteed to take constant time.

EventDisplay

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/EventDisplay/DrawingPad.h:20]: (style) 'class DrawingPad' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/EventDisplay/RawDataDrawer.cxx:697]: (style) The scope of the variable 'q0' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/EventDisplay/RawDataDrawer.h:62]: (style) Unused private function: 'RawDataDrawer::GetRawTrigger'
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/EventDisplay/RecoBaseDrawer.cxx:253]: (style) The scope of the variable 'q0' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/EventDisplay/TQPad.cxx:74]: (style) The scope of the variable 'iloqlast' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/EventDisplay/TQPad.cxx:75]: (style) The scope of the variable 'ihiqlast' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/EventDisplay/TQPad.cxx:76]: (style) The scope of the variable 'ilotlast' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/EventDisplay/TQPad.cxx:77]: (style) The scope of the variable 'ihitlast' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.

EventDisplayServices


EventGenerator

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/EventGenerator/CRY/CosmicsGen_module.cc:666] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/EventGenerator/CRY/CosmicsGen_module.cc:671]: (performance) Variable 'dy' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/EventGenerator/CRY/CosmicsGen_module.cc:379]: (style) Consecutive return, break, continue, goto or throw statements are unnecessary. The second statement can never be executed, and so should be removed.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/EventGenerator/CRY/CosmicsGen_module.cc:463]: (style) Consecutive return, break, continue, goto or throw statements are unnecessary. The second statement can never be executed, and so should be removed.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/EventGenerator/CRY/CosmicsGen_module.cc:540]: (style) Consecutive return, break, continue, goto or throw statements are unnecessary. The second statement can never be executed, and so should be removed.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/EventGenerator/CRY/CosmicsGen_module.cc:223]: (style) The scope of the variable 'sampletime' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/EventGenerator/CRY/CosmicsGen_module.cc:281]: (style) The scope of the variable 'nNeutron' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/EventGenerator/CRY/CosmicsGen_module.cc:282]: (style) The scope of the variable 'E0Neutron' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/EventGenerator/CRY/CosmicsGen_module.cc:284]: (style) The scope of the variable 'nPhoton' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/EventGenerator/CRY/CosmicsGen_module.cc:285]: (style) The scope of the variable 'E0Photon' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/EventGenerator/CRY/CosmicsGen_module.cc:287]: (style) The scope of the variable 'nProton' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/EventGenerator/CRY/CosmicsGen_module.cc:288]: (style) The scope of the variable 'E0Proton' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/EventGenerator/GENIE/GENIERockGen_module.cc:149]: (style) Consecutive return, break, continue, goto or throw statements are unnecessary. The second statement can never be executed, and so should be removed.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/EventGenerator/GENIE/NuMISpillTimeStructure.cxx:67]: (style) The scope of the variable 'pot' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/EventGenerator/GiBUU/GiBUURegen_module.cc:225]: (performance) Either inefficient or wrong usage of string::find(). string::compare() will be faster if string::find's result is compared with 0, because it will not scan the whole string. If your intention is to check that there are no findings in the string, you should compare with std::string::npos.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/EventGenerator/GiBUU/RecordList.h:46]: (style) 'class RecordLoader' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/EventGenerator/GiBUU/libgen/convert.C:170]: (style) Variable 'Enu' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/EventGenerator/GiBUU/libgen/convert.C:182]: (style) Variable 'weight' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/EventGenerator/GiBUU/libgen/convert.C:171]: (style) Variable 'prod_id' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/EventGenerator/GiBUU/libgen/convert.C:175]: (style) Variable 'pdg' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/EventGenerator/GiBUU/libgen/convert.C:176]: (style) Variable 'E' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/EventGenerator/GiBUU/libgen/convert.C:177]: (style) Variable 'px' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/EventGenerator/GiBUU/libgen/convert.C:178]: (style) Variable 'py' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/EventGenerator/GiBUU/libgen/convert.C:179]: (style) Variable 'pz' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/EventGenerator/GiBUU/libgen/extract_gibuu_corrs.C:45]: (style) Variable 'fout' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/EventGenerator/SupernovaGen_module.cc:261] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/EventGenerator/SupernovaGen_module.cc:262]: (performance) Variable 'pkf' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/EventGenerator/WimpSim/runWimpSim.cpp:125]: (style) Suspicious expression. Boolean result is used in bitwise operation. The operator '!' and the comparison operators have higher precedence than bitwise operators. It is recommended that the expression is clarified with parentheses.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/EventGenerator/standalone/randomsubruns.cc:56]: (error) Uninitialized struct member: currInputSubrun.run
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/EventGenerator/standalone/randomsubruns.cc:65]: (error) Uninitialized struct member: currInputSubrun.subrun
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/EventGenerator/standalone/randomsubruns.cc:78]: (error) Uninitialized struct member: currInputSubrun.weight
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/EventGenerator/standalone/randomsubruns.cc:70]: (error) Uninitialized struct member: currInputSubrun.timestamp0
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/EventGenerator/standalone/randomsubruns.cc:70]: (error) Uninitialized struct member: currInputSubrun.timestamp1
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/EventGenerator/standalone/randomsubruns.cc:72]: (error) Uninitialized struct member: currInputSubrun.offset
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/EventGenerator/standalone/randomsubruns_fastyle.cc:55]: (error) Uninitialized struct member: currInputSubrun.run
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/EventGenerator/standalone/randomsubruns_fastyle.cc:63]: (error) Uninitialized struct member: currInputSubrun.subrun
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/EventGenerator/standalone/randomsubruns_fastyle.cc:73]: (error) Uninitialized struct member: currInputSubrun.weight
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/EventGenerator/standalone/randomsubruns_fastyle.cc:65]: (error) Uninitialized struct member: currInputSubrun.timestamp
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/EventGenerator/standalone/randomsubruns_fastyle.cc:67]: (error) Uninitialized struct member: currInputSubrun.offset

EventSummary

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/EventSummary/EventSummary_module.cc:369] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/EventSummary/EventSummary_module.cc:379]: (performance) Variable 'trigwin' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/EventSummary/EventSummary_module.cc:285]: (style) The scope of the variable 'days' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/EventSummary/EventSummary_module.cc:286]: (style) The scope of the variable 'months' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.

EWCosmicAnalyzer

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/EWCosmicAnalyzer/EWCosmics_module.cc:105]: (style) The scope of the variable 'step' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/EWCosmicAnalyzer/EWCosmics_module.cc:156]: (style) The scope of the variable 'step' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.

Filter


FlatMaker


FNEX

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/dataProducts/Constants.h:434] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/dataProducts/Constants.h:433]: (style) Duplicate conditions in 'if' and related 'else if'. This is suspicious and might indicate a cut and paste or logic error. Please examine this code carefully to determine if it is correct.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/core/AnalysisSetupBase.cxx:576] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/core/AnalysisSetupBase.cxx:573]: (style) Finding the same code in an 'if' and related 'else' branch is suspicious and might indicate a cut and paste or logic error. Please examine this code carefully to determine if it is correct.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/core/CorrectedSpectrum.cxx:117]: (style) The scope of the variable 'detEpochKey' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/core/CorrectedSpectrum.cxx:224]: (style) The scope of the variable 'bin_data' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/core/CorrectedSpectrum.cxx:225]: (style) The scope of the variable 'bin_mc' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/core/CorrectedSpectrum.cxx:735]: (style) The scope of the variable 'can' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/core/CorrectedSpectrum.cxx:736]: (style) The scope of the variable 'pad1' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/core/CorrectedSpectrum.cxx:737]: (style) The scope of the variable 'pad2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/core/CorrectedSpectrum.cxx:739]: (style) The scope of the variable 'mc' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/core/CorrectedSpectrum.cxx:741]: (style) The scope of the variable 'ghost' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/core/CorrectedSpectrum.cxx:1279]: (style) The scope of the variable 'binContent' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/core/CorrectedSpectrum.cxx:1707]: (style) The scope of the variable 'scaleFac' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/core/CorrectedSpectrum.cxx:1708]: (style) The scope of the variable 'result' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/core/CorrectedSpectrum.cxx:1401]: (style) Variable 'chisqtitle' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/core/CorrectedSpectrum.cxx:22]: (performance) When an object of a class is created, the constructors of all member variables are called consecutively in the order the variables are declared, even if you don't explicitly write them to the initialization list. You could avoid assigning 'fFitEvalType' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/core/Event.cxx:137]: (style) Variable 'genieVars' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/core/Experiment.cxx:9]: (performance) When an object of a class is created, the constructors of all member variables are called consecutively in the order the variables are declared, even if you don't explicitly write them to the initialization list. You could avoid assigning 'fShortName' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/core/ShifterAndWeighter.cxx:578]: (style) The scope of the variable 'tmpWgt' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/core/ShifterAndWeighter.cxx:1137]: (style) The scope of the variable 'signalPredWgt' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/core/ShifterAndWeighter.cxx:2804]: (style) The scope of the variable 'coreWgt' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/core/ShifterAndWeighter.cxx:2805]: (style) The scope of the variable 'periWgt' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/core/ShifterAndWeighter.cxx:2121]: (performance) When an object of a class is created, the constructors of all member variables are called consecutively in the order the variables are declared, even if you don't explicitly write them to the initialization list. You could avoid assigning 'fFileName' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/core/ShifterAndWeighter.cxx:2122]: (performance) When an object of a class is created, the constructors of all member variables are called consecutively in the order the variables are declared, even if you don't explicitly write them to the initialization list. You could avoid assigning 'fShortName' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/custom/CorrSpec_NoExtrapNuE.cxx:170]: (style) The scope of the variable 'binning' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/custom/CorrSpec_NoExtrapNuE.cxx:281]: (style) The scope of the variable 'binning' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/custom/CorrSpec_NoExtrapNuMu.cxx:160]: (style) The scope of the variable 'binning' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/custom/CorrSpec_NoExtrapNuMu.cxx:254]: (style) The scope of the variable 'binning' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/custom/CorrSpec_PropDecomp.cxx:170]: (style) The scope of the variable 'binning' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/custom/CorrSpec_PropDecomp.cxx:282]: (style) The scope of the variable 'binning' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/custom/CorrSpec_SimpleExtrap.cxx:160]: (style) The scope of the variable 'binning' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/custom/CorrSpec_SimpleExtrap.cxx:253]: (style) The scope of the variable 'binning' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/custom/CorrSpec_SimpleNuMuExtrap.cxx:262]: (style) The scope of the variable 'binning' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/custom/FitEval_ChiSq.cxx:43]: (style) The scope of the variable 'bin_data' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/custom/FitEval_ChiSq.cxx:44]: (style) The scope of the variable 'bin_mc' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/custom/FitEval_ChiSq.cxx:84]: (style) The scope of the variable 'bin_mc' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/custom/FitEval_UBL.cxx:40]: (style) The scope of the variable 'bincontent' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/custom/FitEval_UBL.cxx:111]: (style) The scope of the variable 'bincontent' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/custom/NuEAnalysisSetup.cxx:127]: (style) The scope of the variable 'CVNem_CalE' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/custom/NuEAnalysisSetup.cxx:128]: (style) The scope of the variable 'CVNha_CalE' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/custom/NuEAnalysisSetup.cxx:129]: (style) The scope of the variable 'pngSum_CalE' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/custom/NuEAnalysisSetup.cxx:175]: (style) The scope of the variable 'pngMaxE' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/custom/NuEAnalysisSetup.h:84]: (style) Unused private function: 'NuEAnalysisSetup::FillRecoVars2017'
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/custom/NuMuAnalysisSetup.cxx:359] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/custom/NuMuAnalysisSetup.cxx:365]: (performance) Variable 'muonEMC' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/custom/NuMuAnalysisSetup.cxx:418]: (style) The scope of the variable 'slopeH4' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/dataProducts/InputPoint.cxx:190]: (style) The scope of the variable 'fixed' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/dataProducts/InputPoint.cxx:191]: (style) The scope of the variable 'val' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/fitter/FitAlg_ROOTFactoryFit.cxx:335]: (style) Variable 'pParameterSpaceLocations' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/fitter/FitAlg_ROOTFactoryFit.cxx:336]: (style) Variable 'pSystematicPulls' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/HistogramAttr.cxx:530] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/HistogramAttr.cxx:536]: (performance) Variable 'ymax' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/HistogramAttr.cxx:852] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/HistogramAttr.cxx:858]: (performance) Variable 'ymax' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/HistogramAttr.cxx:199]: (style) The scope of the variable 'bins_data_reco' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/HistogramAttr.cxx:200]: (style) The scope of the variable 'bins_mc_reco' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/HistogramAttr.cxx:201]: (style) The scope of the variable 'bins_mc_true' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/HistogramAttr.cxx:204]: (style) The scope of the variable 'bins_sum' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/HistogramAttr.cxx:380]: (style) The scope of the variable 'P' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/HistogramAttr.cxx:196]: (style) Variable 'Nbinsy_h2' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/HistogramAttr.cxx:231]: (style) Variable 'bins_mc_true' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/HistogramAttr.cxx:291]: (style) Variable 'axis' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/HistogramAttr.cxx:350]: (style) Variable 'binVal' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/HistogramAttr.cxx:420]: (style) Variable 'hbase' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/HistogramAttr.cxx:421]: (style) Variable 'hsec' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/caf_vs_fnex_data_mc.C:86]: (style) Variable 'datamc' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/caf_vs_fnex_data_mc.C:91]: (style) Unused variable: hfnex
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/caf_vs_fnex_data_mc.C:92]: (style) Unused variable: h2
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/caf_vs_fnex_data_mc.C:93]: (style) Unused variable: hcaf
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/fnex_vs_fnex_data_mc.C:57]: (style) Unused variable: hfnex_old_data
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/fnex_vs_fnex_data_mc.C:58]: (style) Unused variable: hfnex_old_mc
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/fnex_vs_fnex_data_mc.C:59]: (style) Unused variable: hfnex_old_datamc_ratio
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/fnex_vs_fnex_data_mc.C:60]: (style) Unused variable: hfnex_new_data
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/fnex_vs_fnex_data_mc.C:61]: (style) Unused variable: hfnex_new_mc
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/fnex_vs_fnex_data_mc.C:62]: (style) Unused variable: hfnex_new_datamc_ratio
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/fnexvscaf.C:220]: (style) Variable 'h1' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/nue_background_decomposition.C:31]: (style) Unused variable: isMC
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/nue_background_decomposition.C:55]: (style) Variable 'binVal' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/nue_background_decomposition.C:59]: (style) Variable 'mcrecosum_nuetototal_ratio_error' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/nue_background_decomposition.C:60]: (style) Variable 'mcrecosum_numutototal_ratio_error' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/nue_background_decomposition.C:61]: (style) Variable 'mcrecosum_NCtototal_ratio_error' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/nue_fnex_vs_caf.C:31] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/nue_fnex_vs_caf.C:81]: (performance) Variable 'nd_pot' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/nue_fnex_vs_caf.C:32] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/nue_fnex_vs_caf.C:82]: (performance) Variable 'fd_pot' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/nue_fnex_vs_caf.C:33] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/nue_fnex_vs_caf.C:87]: (performance) Variable 'dcp' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/nue_fnex_vs_caf.C:34] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/nue_fnex_vs_caf.C:88]: (performance) Variable 'th13' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/nue_fnex_vs_caf.C:35] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/nue_fnex_vs_caf.C:89]: (performance) Variable 'th23' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/nue_fnex_vs_caf.C:36] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/nue_fnex_vs_caf.C:90]: (performance) Variable 'dmsq32' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/nue_fnex_vs_caf.C:37]: (style) The scope of the variable 'ymax' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/nue_fnex_vs_caf.C:248]: (style) Variable 'ymax' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/nue_fnex_vs_caf.C:38]: (style) Variable 'ratio' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/nue_fnex_vs_caf.C:39]: (style) Variable 'ratio_error' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/nue_fnex_vs_caf.C:40]: (style) Variable 'totalevents_fnex' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/nue_fnex_vs_caf.C:41]: (style) Variable 'totalevents_caf' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/nue_fnex_vs_caf.C:63]: (style) Unused variable: hfnex_uncorr
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/nue_fnex_vs_caf.C:66]: (style) Unused variable: hist_ratio
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/nue_fnex_vs_caf_energycomparison.C:202]: (style) The scope of the variable 'one_main' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/nue_fnex_vs_caf_energycomparison.C:290]: (error) Uninitialized variable: c1
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/nue_fnex_vs_caf_energycomparison.C:291]: (error) Uninitialized variable: c1
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/nue_fnex_vs_caf_events.C:32] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/nue_fnex_vs_caf_events.C:65]: (performance) Variable 'nd_pot' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/nue_fnex_vs_caf_events.C:33] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/nue_fnex_vs_caf_events.C:66]: (performance) Variable 'fd_pot' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/nue_fnex_vs_caf_events.C:34] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/nue_fnex_vs_caf_events.C:71]: (performance) Variable 'dcp' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/nue_fnex_vs_caf_events.C:35] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/nue_fnex_vs_caf_events.C:72]: (performance) Variable 'th13' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/nue_fnex_vs_caf_events.C:36] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/nue_fnex_vs_caf_events.C:73]: (performance) Variable 'th23' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/nue_fnex_vs_caf_events.C:37] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/nue_fnex_vs_caf_events.C:74]: (performance) Variable 'dmsq32' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/nue_fnex_vs_caf_events.C:38]: (style) The scope of the variable 'ymax' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/nue_fnex_vs_caf_events.C:200]: (style) The scope of the variable 'change' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/nue_fnex_vs_caf_events.C:291]: (style) Variable 'ymax' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/nue_fnex_vs_caf_noextrapolation.C:31] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/nue_fnex_vs_caf_noextrapolation.C:81]: (performance) Variable 'nd_pot' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/nue_fnex_vs_caf_noextrapolation.C:32] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/nue_fnex_vs_caf_noextrapolation.C:82]: (performance) Variable 'fd_pot' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/nue_fnex_vs_caf_noextrapolation.C:33] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/nue_fnex_vs_caf_noextrapolation.C:87]: (performance) Variable 'dcp' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/nue_fnex_vs_caf_noextrapolation.C:34] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/nue_fnex_vs_caf_noextrapolation.C:88]: (performance) Variable 'th13' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/nue_fnex_vs_caf_noextrapolation.C:35] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/nue_fnex_vs_caf_noextrapolation.C:89]: (performance) Variable 'th23' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/nue_fnex_vs_caf_noextrapolation.C:36] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/nue_fnex_vs_caf_noextrapolation.C:90]: (performance) Variable 'dmsq32' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/nue_fnex_vs_caf_noextrapolation.C:37]: (style) Variable 'ymax' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/nue_fnex_vs_caf_noextrapolation.C:38]: (style) Variable 'ratio' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/nue_fnex_vs_caf_noextrapolation.C:39]: (style) Variable 'ratio_error' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/nue_fnex_vs_caf_noextrapolation.C:40]: (style) Variable 'totalevents_fnex' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/nue_fnex_vs_caf_noextrapolation.C:41]: (style) Variable 'totalevents_caf' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/nue_fnex_vs_caf_noextrapolation.C:66]: (style) Unused variable: hist_ratio
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/read_eventlisttress_missingruns.C:10]: (style) The scope of the variable 'branch_run' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/read_eventlisttress_missingruns.C:11]: (style) The scope of the variable 'branch_subrun' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/read_eventlisttress_runs_subruns.C:10]: (style) The scope of the variable 'branch_run' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/read_eventlisttress_runs_subruns.C:11]: (style) The scope of the variable 'branch_subrun' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/macros/remakeresultsplots_nue.C:197]: (style) Variable 'PID' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/modules/CAFContourMaker_module.cc:114]: (style) Variable 'filename' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Vars/GenieWeights.h:43]: (style) Statements following return, break, continue, goto or throw will never be executed.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Core/ISyst.h:23]: (style) 'ISyst::operator=' should return 'ISyst &'.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/modules/CalibSystHistMaker_module.cc:466]: (style) The scope of the variable 'neutrinoTrueE' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/modules/CalibSystHistMaker_module.cc:467]: (style) The scope of the variable 'cvWgt' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/modules/CalibSystHistMaker_module.cc:435]: (style) Variable 'nEntries' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/modules/CompareFNEXCAFEventListFiles_module.cc:754]: (style) The scope of the variable 'slice' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/modules/CompareFNEXCAFEventListFiles_module.cc:756]: (style) The scope of the variable 'neutrinoTrueE' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/modules/CompareFNEXCAFEventListFiles_module.cc:757]: (style) The scope of the variable 'hadronicE' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/modules/CompareFNEXCAFEventListFiles_module.cc:758]: (style) The scope of the variable 'leptonicE' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/modules/CompareFNEXCAFEventListFiles_module.cc:759]: (style) The scope of the variable 'neutrinoE' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/modules/CompareFNEXCAFEventListFiles_module.cc:760]: (style) The scope of the variable 'xseccvCCQE' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/modules/CompareFNEXCAFEventListFiles_module.cc:761]: (style) The scope of the variable 'ccnc' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/modules/CompareFNEXCAFEventListFiles_module.cc:762]: (style) The scope of the variable 'neutrinotype' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/modules/CompareFNEXCAFEventListFiles_module.cc:1443]: (style) The scope of the variable 'run' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/modules/CompareFNEXCAFEventListFiles_module.cc:1444]: (style) The scope of the variable 'subRun' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/modules/CompareFNEXCAFEventListFiles_module.cc:1445]: (style) The scope of the variable 'cycle' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/modules/CompareFNEXCAFEventListFiles_module.cc:1446]: (style) The scope of the variable 'event' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/modules/CompareFNEXCAFEventListFiles_module.cc:1447]: (style) The scope of the variable 'slice' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/modules/CompareFNEXCAFEventListFiles_module.cc:1450]: (style) The scope of the variable 'hadronicE' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/modules/CompareFNEXCAFEventListFiles_module.cc:1451]: (style) The scope of the variable 'leptonicE' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/modules/CompareFNEXCAFEventListFiles_module.cc:1452]: (style) The scope of the variable 'neutrinoE' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/modules/CompareFNEXCAFEventListFiles_module.cc:1453]: (style) The scope of the variable 'xseccvCCQE' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/modules/CompareFNEXCAFEventListFiles_module.cc:1454]: (style) The scope of the variable 'cvn' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/modules/CompareFNEXCAFEventListFiles_module.cc:1455]: (style) The scope of the variable 'ccnc' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/modules/CompareFNEXCAFEventListFiles_module.cc:1456]: (style) The scope of the variable 'neutrinotype' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/modules/CompareFNEXCAFEventListFiles_module.cc:1457]: (style) The scope of the variable 'trueintmode' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/modules/ContourMaker_plugin.cc:413]: (style) The scope of the variable 'fitStatus' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/modules/ContourMaker_plugin.cc:572]: (style) The scope of the variable 'param1Val' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/modules/ContourMaker_plugin.cc:573]: (style) The scope of the variable 'param2Val' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/modules/ContourMaker_plugin.cc:581]: (style) Unused variable: point
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/modules/ContourMaker_plugin.cc:1203]: (performance) Checking for 'twoDChiSqr' emptiness might be inefficient. Using twoDChiSqr.empty() instead of twoDChiSqr.size() can be faster. twoDChiSqr.size() can take linear time but twoDChiSqr.empty() is guaranteed to take constant time.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/modules/CovarianceFitHelper.cxx:73]: (style) The scope of the variable 'keyBase' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/modules/CovarianceFitHelper.cxx:499]: (style) The scope of the variable 'offset' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/modules/CovarianceFitHelper.cxx:500]: (style) The scope of the variable 'key' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/modules/CovarianceFitHelper.cxx:501]: (style) The scope of the variable 'binsForMD' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/modules/CovarianceFitHelper.cxx:567]: (style) The scope of the variable 'count' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/modules/CovarianceFitHelper.cxx:686]: (style) The scope of the variable 'curNPVal' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/modules/CovarianceFitHelper.cxx:434]: (performance) Checking for 'fEventLists' emptiness might be inefficient. Using fEventLists.empty() instead of fEventLists.size() can be faster. fEventLists.size() can take linear time but fEventLists.empty() is guaranteed to take constant time.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/modules/EventListMaker_module.cc:284] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/modules/EventListMaker_module.cc:285]: (performance) Variable 'fakePOT' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/modules/EventListMaker_module.cc:675]: (style) Unused variable: epoch
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/modules/EventListMaker_module.cc:672]: (performance) Checking for 'fMDToEventsFull' emptiness might be inefficient. Using fMDToEventsFull.empty() instead of fMDToEventsFull.size() can be faster. fMDToEventsFull.size() can take linear time but fMDToEventsFull.empty() is guaranteed to take constant time.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/modules/EventListManipulator.cxx:93]: (style) The scope of the variable 'exposure' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/modules/EventListManipulator.cxx:398]: (style) The scope of the variable 'testNum' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/modules/EventListManipulator.cxx:528]: (style) The scope of the variable 'crPOTEquiv' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/modules/EventListManipulator.cxx:1176]: (style) The scope of the variable 'wgt' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/modules/EventListManipulator.cxx:1344]: (style) The scope of the variable 'recoBins' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/modules/EventListManipulator.cxx:1482]: (style) The scope of the variable 'val' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/modules/EventListManipulator.cxx:1673]: (style) The scope of the variable 'normalization' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/modules/EventListManipulator.cxx:2430]: (style) The scope of the variable 'energy' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/modules/EventListManipulator.cxx:275]: (style) Unused variable: selStr
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/modules/EventListManipulator.cxx:702]: (style) Unused variable: mdString
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/modules/EventListManipulator.cxx:2598]: (style) Unused variable: corrScale
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/modules/EventListManipulator.cxx:2730]: (style) Unused variable: epoch
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/modules/EventListManipulator.cxx:253]: (performance) Checking for 'fFakeExposure' emptiness might be inefficient. Using fFakeExposure.empty() instead of fFakeExposure.size() can be faster. fFakeExposure.size() can take linear time but fFakeExposure.empty() is guaranteed to take constant time.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/modules/EventListManipulator.cxx:785]: (performance) Checking for 'fFakeExposure' emptiness might be inefficient. Using fFakeExposure.empty() instead of fFakeExposure.size() can be faster. fFakeExposure.size() can take linear time but fFakeExposure.empty() is guaranteed to take constant time.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/modules/EventListManipulator.cxx:817]: (performance) Checking for 'fFakeExposure' emptiness might be inefficient. Using fFakeExposure.empty() instead of fFakeExposure.size() can be faster. fFakeExposure.size() can take linear time but fFakeExposure.empty() is guaranteed to take constant time.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/modules/EventListManipulator.cxx:1820]: (performance) Checking for 'fFakeExposure' emptiness might be inefficient. Using fFakeExposure.empty() instead of fFakeExposure.size() can be faster. fFakeExposure.size() can take linear time but fFakeExposure.empty() is guaranteed to take constant time.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/modules/FNEXCovarianceMatrixMaker_plugin.cc:294]: (style) The scope of the variable 'key' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/modules/FNEXCovarianceMatrixMaker_plugin.cc:296]: (style) The scope of the variable 'offset' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/modules/FNEXCovarianceMatrixMaker_plugin.cc:297]: (style) The scope of the variable 'normalization' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/modules/FakePointResultMaker_plugin.cc:108]: (style) The scope of the variable 'Th23Val' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/modules/ReadCAFMakeEventList_module.cc:464] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/modules/ReadCAFMakeEventList_module.cc:445]: (style) Finding the same code in an 'if' and related 'else' branch is suspicious and might indicate a cut and paste or logic error. Please examine this code carefully to determine if it is correct.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/modules/SensitivityPointsMaker_plugin.cc:318]: (style) The scope of the variable 'Par1Val' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/modules/StarPlot_plugin.cc:894] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/modules/StarPlot_plugin.cc:895]: (performance) Variable 'contourcanv' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/modules/StarPlot_plugin.cc:480]: (style) The scope of the variable 'fitStatus' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/scripts/plotNueSystBandForTheseSystematics.C:133]: (style) Variable 'legTag' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/scripts/plotNueSystBandForTheseSystematics.C:195]: (style) Variable 'canND' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/scripts/plotNueSystBandForTheseSystematics.C:196]: (style) Variable 'canFDAll' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/scripts/plotNueSystBandForTheseSystematics.C:209]: (style) Variable 'canErrorND' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/scripts/plotNueSystBandForTheseSystematics.C:225]: (style) Variable 'canErrorFD' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/scripts/plotSystBandForTheseSystematics.C:185]: (style) Statements following return, break, continue, goto or throw will never be executed.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/scripts/plotSystBandForTheseSystematics.C:130]: (style) Variable 'legTag' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/scripts/plotSystBandForTheseSystematics.C:474]: (style) Variable 'canErrorND' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/scripts/plotSystBandForTheseSystematics.C:490]: (style) Variable 'canErrorFD' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FNEX/utilities/FNEXUniqID.h:9]: (style) 'class FNEXUniqID' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.

FuzzyKVertex

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FuzzyKVertex/FuzzyKMeanAlg.cxx:282]: (style) The scope of the variable 's' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FuzzyKVertex/FuzzyKMeanAlg.cxx:283]: (style) The scope of the variable 'w' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FuzzyKVertex/FuzzyKMeanAlg.cxx:284]: (style) The scope of the variable 'musave' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FuzzyKVertex/FuzzyKMeanAlg.cxx:334]: (style) The scope of the variable 'unwanted' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FuzzyKVertex/ViewMatchAlg.cxx:389]: (style) The scope of the variable 'ip' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FuzzyKVertex/ViewMatchAlg.cxx:389]: (style) The scope of the variable 'ic' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FuzzyKVertex/ViewMatchAlg.cxx:477]: (style) The scope of the variable 'xsum' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FuzzyKVertex/ViewMatchAlg.cxx:478]: (style) The scope of the variable 'ysum' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FuzzyKVertex/ViewMatchAlg.cxx:483]: (style) The scope of the variable 'kuiper' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FuzzyKVertex/ViewMatchAlg.cxx:484]: (style) The scope of the variable 'ksmaxp' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FuzzyKVertex/ViewMatchAlg.cxx:485]: (style) The scope of the variable 'ksmaxm' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FuzzyKVertex/ViewMatchAlg.cxx:487]: (style) The scope of the variable 'ix' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/FuzzyKVertex/ViewMatchAlg.cxx:488]: (style) The scope of the variable 'iy' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.

g4nova

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/g4nova/G4Alg.h:32]: (style) 'class G4Alg' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/g4nova/Modules/G4Gen_module.cc:129]: (warning) Possible leak in public function. The pointer 'fG4Alg' is not deallocated before it is allocated.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/g4nova/NovaG4MonopoleFieldSetup.hh:65]: (style) 'class NovaG4MonopoleFieldSetup' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/g4nova/neutron_scripts/convert_mcnp_txt_to_root.C:32]: (style) Variable 'fout' is assigned a value that is never used.

GenieSNova

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/GenieSNova/module/misc/SnovaAna_module.cc:53]: (style) struct or union member 'Anonymous0::pdg' is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/GenieSNova/module/misc/SnovaAna_module.cc:53]: (style) struct or union member 'Anonymous0::p' is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/GenieSNova/module/misc/SnovaAna_module.cc:53]: (style) struct or union member 'Anonymous0::x' is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/GenieSNova/module/misc/SnovaAna_module.cc:53]: (style) struct or union member 'Anonymous0::y' is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/GenieSNova/module/misc/SnovaAna_module.cc:53]: (style) struct or union member 'Anonymous0::z' is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/GenieSNova/module/misc/SnovaAna_module.cc:53]: (style) struct or union member 'Anonymous0::t' is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/GenieSNova/module/misc/SnovaAna_module.cc:54]: (style) struct or union member 'Anonymous1::adc' is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/GenieSNova/module/misc/SnovaAna_module.cc:54]: (style) struct or union member 'Anonymous1::t' is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/GenieSNova/src/GSNovaModel.cxx:56]: (style) The scope of the variable 'histPDG' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/GenieSNova/test/testSnFlux.cc:108]: (style) Unused variable: HistMap_TS

Geometry

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Geometry/LiveGeometry_service.cc:1463]: (style) The scope of the variable 'distX' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Geometry/LiveGeometry_service.cc:1463]: (style) The scope of the variable 'distY' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Geometry/LiveGeometry_service.cc:1463]: (style) The scope of the variable 'distZ' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Geometry/LiveGeometry_service.cc:196]: (style) Variable 'mindist' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Geometry/LiveGeometry_service.cc:425]: (style) Variable 'liveDist' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Geometry/test/GeometryTest_module.cc:229]: (style) The scope of the variable 'iview' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Geometry/test/testGeometry.cc:88]: (style) The exception is caught by value. It could be caught as a (const) reference which is usually recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Geometry/test/testgeo.cc:152]: (style) Variable 'chi2' is assigned a value that is never used.

GeometryObjects

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/GeometryObjects/GeometryObjects_dict.cc:314]: (error) No pair for character ('). Can't process file. File is either invalid or unicode, which is currently not supported.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/GeometryObjects/PlaneGeo.h:36]: (style) 'class PlaneGeo' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/GeometryObjects/PlaneGeo.cxx:196]: (warning) Possible leak in public function. The pointer 'fGeoMatrix' is not deallocated before it is allocated.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/GeometryObjects/PlaneGeo.cxx:217]: (warning) Possible leak in public function. The pointer 'fGeoMatrix' is not deallocated before it is allocated.

HDF5Maker


HoughTrack

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/HoughTrack/HoughTrack_dict.cc:577]: (error) No pair for character ('). Can't process file. File is either invalid or unicode, which is currently not supported.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/HoughTrack/HoughTrack_module.cc:585]: (style) The scope of the variable 'startPlane' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/HoughTrack/HoughTrack_module.cc:586]: (style) The scope of the variable 'startCell' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/HoughTrack/HoughTrack_module.cc:587]: (style) The scope of the variable 'endPlane' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/HoughTrack/HoughTrack_module.cc:588]: (style) The scope of the variable 'endCell' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.

HoughTransform

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/HoughTransform/IslandsTH2.cxx:99]: (style) The scope of the variable 'ix' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/HoughTransform/MultiHough2P.cxx:312] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/HoughTransform/MultiHough2P.cxx:315]: (performance) Variable 'w' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/HoughTransform/MultiHough2P.cxx:551]: (style) The scope of the variable 'xd' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/HoughTransform/multihough_production_validation.C:9]: (style) Variable 'max' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/HoughTransform/multihough_production_validation.C:14]: (style) Variable 'f1' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/HoughTransform/multihough_production_validation.C:22]: (style) Variable 'f2' is assigned a value that is never used.

HoughVertex


IFDBSpillInfo

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/IFDBSpillInfo/BNBInfo_module.cc:293] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/IFDBSpillInfo/BNBInfo_module.cc:294]: (performance) Variable 'diff' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/IFDBSpillInfo/BNBInfo_module.cc:411]: (style) The exception is caught by value. It could be caught as a (const) reference which is usually recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/IFDBSpillInfo/IFDBSpillInfo_module.cc:449] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/IFDBSpillInfo/IFDBSpillInfo_module.cc:455]: (performance) Variable 'area' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/IFDBSpillInfo/IFDBSpillInfo_module.cc:615] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/IFDBSpillInfo/IFDBSpillInfo_module.cc:616]: (performance) Variable 'diff' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/IFDBSpillInfo/IFDBSpillInfo_module.cc:450]: (style) The scope of the variable 'offset' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/IFDBSpillInfo/IFDBSpillInfo_module.cc:506]: (style) Variable 'offset' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/IFDBSpillInfo/IFDBSpillInfo_module.cc:826]: (style) The exception is caught by value. It could be caught as a (const) reference which is usually recommended in C++.

LEM

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/LEM/LEM_dict.cc:3446]: (error) No pair for character ('). Can't process file. File is either invalid or unicode, which is currently not supported.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/LEM/MakePID_module.cc:438]: (style) Variable 'totW' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/LEM/MergeMatches_module.cc:129]: (style) Unused variable: enrichedMatches
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/LEM/Util.cxx:60]: (performance) Parameter 'vtx' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/LEM/dump_event.C:23]: (style) The scope of the variable 'h' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/LEM/dump_event.C:22]: (style) Variable 'views' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/LEM/dump_event.C:100]: (performance) Parameter 'sum' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/LEM/dump_event.C:143]: (warning, inconclusive) Found suspicious equality comparison. Did you intend to assign a value instead?
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/LEM/func/EventSummary.cxx:80]: (warning) 'operator=' should check for assignment to self to ensure that each block of dynamically allocated memory is owned and managed by only one instance of the class.

LSTME


MCCheater

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/MCCheater/BackTracker_service.cc:1668]: (performance) Checking for 'idToEnergyInProng' emptiness might be inefficient. Using idToEnergyInProng.empty() instead of idToEnergyInProng.size() can be faster. idToEnergyInProng.size() can take linear time but idToEnergyInProng.empty() is guaranteed to take constant time.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/MCCheater/BackTracker_service.cc:531]: (performance) Prefix ++/-- operators should be preferred for non-primitive types. Pre-increment/decrement can be more efficient than post-increment/decrement. Post-increment/decrement usually involves keeping a copy of the previous value around and adds a little extra code.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/MCCheater/CheckBackTracking_module.cc:99]: (performance) Prefix ++/-- operators should be preferred for non-primitive types. Pre-increment/decrement can be more efficient than post-increment/decrement. Post-increment/decrement usually involves keeping a copy of the previous value around and adds a little extra code.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/MCCheater/CheckBackTracking_module.cc:125]: (performance) Prefix ++/-- operators should be preferred for non-primitive types. Pre-increment/decrement can be more efficient than post-increment/decrement. Post-increment/decrement usually involves keeping a copy of the previous value around and adds a little extra code.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/MCCheater/CheckBackTracking_module.cc:232]: (performance) Prefix ++/-- operators should be preferred for non-primitive types. Pre-increment/decrement can be more efficient than post-increment/decrement. Post-increment/decrement usually involves keeping a copy of the previous value around and adds a little extra code.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/MCCheater/MCCheater_dict.cc:1221]: (error) No pair for character ('). Can't process file. File is either invalid or unicode, which is currently not supported.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/MCCheater/MCCheater_module.cc:479] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/MCCheater/MCCheater_module.cc:483]: (performance) Variable 'coorz' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/MCCheater/MCCheater_module.cc:613]: (style) The scope of the variable 'lowt' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/MCCheater/MCCheater_module.cc:260]: (style) Variable 'npar' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/MCCheater/ProngCheater_module.cc:106]: (performance) Prefix ++/-- operators should be preferred for non-primitive types. Pre-increment/decrement can be more efficient than post-increment/decrement. Post-increment/decrement usually involves keeping a copy of the previous value around and adds a little extra code.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/MCCheater/ProngCheater_module.cc:114]: (performance) Prefix ++/-- operators should be preferred for non-primitive types. Pre-increment/decrement can be more efficient than post-increment/decrement. Post-increment/decrement usually involves keeping a copy of the previous value around and adds a little extra code.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/MCCheater/ShowerCheater_module.cc:106]: (performance) Prefix ++/-- operators should be preferred for non-primitive types. Pre-increment/decrement can be more efficient than post-increment/decrement. Post-increment/decrement usually involves keeping a copy of the previous value around and adds a little extra code.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/MCCheater/ShowerCheater_module.cc:113]: (performance) Prefix ++/-- operators should be preferred for non-primitive types. Pre-increment/decrement can be more efficient than post-increment/decrement. Post-increment/decrement usually involves keeping a copy of the previous value around and adds a little extra code.

MCCheckOut

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/MCCheckOut/LeptonAna_module.cc:382]: (style) Variable 'trueETotal' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/MCCheckOut/LeptonAna_module.cc:393]: (style) Variable 'depositedETotal' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/MCCheckOut/MonopoleAna_module.cc:214]: (style) The scope of the variable 'plane' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/MCCheckOut/MonopoleAna_module.cc:214]: (style) The scope of the variable 'cell' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/MCCheckOut/NeutrinoAna_module.cc:212]: (style) Variable 'decayLabel' is assigned a value that is never used.

MCReweight

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/MCReweight/FluxWeightCalculator_module.cc:185]: (style) Variable 'flag' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/MCReweight/MCReweight_dict.cc:1412]: (error) No pair for character ('). Can't process file. File is either invalid or unicode, which is currently not supported.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/MCReweight/MCTruthToDk2NuHackItr.cxx:211]: (style) The scope of the variable 'dk2nu_indx1' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/MCReweight/MCTruthToDk2NuHackItr.cxx:212]: (style) The scope of the variable 'dk2nu_indx2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.

Metadata


MEFinder

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/MEFinder/MEFinder_dict.cc:1237]: (error) No pair for character ('). Can't process file. File is either invalid or unicode, which is currently not supported.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/MEFinder/MEFinder_module.cc:544]: (style) Unused variable: vars
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/MEFinder/MEFinder_module.cc:667]: (performance) Parameter 'trks' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.

MockDataDAQ

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/MockDataDAQ/src/Configuration.cpp:130]: (performance) Parameter 'addition_to_file_name' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/MockDataDAQ/src/Configuration.cpp:180]: (performance) Parameter 'file_name' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/MockDataDAQ/include/NanoSliceOrder.h:52]: (style) Unused private function: 'NanoSliceOrder::getNumberWithShiftsAndMask'

Monopole

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Monopole/MonopoleCluster_module.cc:97]: (style) Variable 'is_mc' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Monopole/Monopole_module.cc:693]: (style) The scope of the variable 'n_cerenkov_sum' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Monopole/Monopole_module.cc:232]: (style) Variable 'event_time' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Monopole/Track3D.h:57]: (style) Unused private function: 'Track3D::time_gap'

MonopoleMC

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/MonopoleMC/Validation_module.cc:102]: (style) The scope of the variable 'dx' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/MonopoleMC/Validation_module.cc:102]: (style) The scope of the variable 'dE' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/MonopoleMC/Validation_module.cc:102]: (style) The scope of the variable 'dEBirks' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/MonopoleMC/Validation_module.cc:102]: (style) The scope of the variable 'dEdx' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/MonopoleMC/Validation_module.cc:102]: (style) The scope of the variable 'dEBirksdx' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/MonopoleMC/Validation_module.cc:239]: (performance) Parameter 'branch_name' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.

MuonRemove

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/MuonRemove/art/FindMREParent_module.cc:116]: (style) Unused variable: mrccParentsVec
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/MuonRemove/art/FindParent_module.cc:130]: (style) Unused variable: mrccParentsVec
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/MuonRemove/art/MuonRemoveAna_module.cc:355]: (style) The scope of the variable 'length' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/MuonRemove/art/MuonRemoveAna_module.cc:542]: (style) The scope of the variable 'muadcRatio' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/MuonRemove/art/MuonRemoveAna_module.cc:205]: (warning) Possible leak in public function. The pointer 'fTrkCleanUpAlg' is not deallocated before it is allocated.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/MuonRemove/art/MuonRemove_dict.cc:1338]: (error) No pair for character ('). Can't process file. File is either invalid or unicode, which is currently not supported.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/MuonRemove/art/MuonRemove_module.cc:455]: (style) The scope of the variable 'length' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/MuonRemove/art/MuonRemove_module.cc:270]: (style) Unused variable: newDigits
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/MuonRemove/art/MuonRemove_module.cc:284]: (style) Unused variable: digIter
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/MuonRemove/art/MuonRemove_module.cc:284]: (style) Unused variable: digIterBegin
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/MuonRemove/art/MuonRemove_module.cc:284]: (style) Unused variable: digIterEnd
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/MuonRemove/art/MuonRemove_module.cc:232]: (warning) Possible leak in public function. The pointer 'fTrkCleanUpAlg' is not deallocated before it is allocated.

NCID

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NCID/FD_NCID_ADA.C:58]: (performance) Prefix ++/-- operators should be preferred for non-primitive types. Pre-increment/decrement can be more efficient than post-increment/decrement. Post-increment/decrement usually involves keeping a copy of the previous value around and adds a little extra code.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NCID/FD_NCID_ADA.C:64]: (performance) Prefix ++/-- operators should be preferred for non-primitive types. Pre-increment/decrement can be more efficient than post-increment/decrement. Post-increment/decrement usually involves keeping a copy of the previous value around and adds a little extra code.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NCID/NCID_dict.cc:1601]: (error) No pair for character ('). Can't process file. File is either invalid or unicode, which is currently not supported.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NCID/func/KerasModel.cxx:39]: (style) Variable 'tmp_str' is assigned a value that is never used.

NDAna

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/NCPi0SemiIncVars.h:322]: (error) syntax error
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/NDNCPi0Xsec.cxx:17] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/NDNCPi0Xsec.cxx:20]: (performance) Variable 'cvnnumu' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/NDNCPi0Xsec.cxx:17] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/NDNCPi0Xsec.cxx:21]: (performance) Variable 'prong1epi0LLL' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/NDNCPi0Xsec.cxx:17] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/NDNCPi0Xsec.cxx:22]: (performance) Variable 'prong1epiLLL' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/NDNCPi0Xsec.cxx:17] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/NDNCPi0Xsec.cxx:23]: (performance) Variable 'prong1ContPl' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/NDNCPi0Xsec.cxx:17] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/NDNCPi0Xsec.cxx:24]: (performance) Variable 'prong1epLLT' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/NDNCPi0Xsec.cxx:17] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/NDNCPi0Xsec.cxx:25]: (performance) Variable 'prong1Width' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/NDNCPi0Xsec.cxx:17] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/NDNCPi0Xsec.cxx:26]: (performance) Variable 'cvnncid' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/NDNCPi0Xsec.cxx:17] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/NDNCPi0Xsec.cxx:28]: (performance) Variable 'prong2dedx' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/NDNCPi0Xsec.cxx:17] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/NDNCPi0Xsec.cxx:29]: (performance) Variable 'prong1MissingPl' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/NDNCPi0Xsec.cxx:17]: (style) Variable 'prong1dedx' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/Systematics/ResolutionHighCut/resolutionplotter.C:86]: (style) Variable 'c1' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Core/ISyst.h:23]: (style) 'ISyst::operator=' should return 'ISyst &'.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/Systematics/ResolutionLowCut/resolutionplotter.C:86]: (style) Variable 'c1' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/Systematics/ResolutionMidCut/Correction/FitPlot.C:67]: (style) Variable 'g1' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/Systematics/ResolutionMidCut/Correction/resolutionplotter.C:86]: (style) Variable 'c1' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/Systematics/ResolutionMidCut/resolutionplotter.C:86]: (style) Variable 'c1' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/Systematics/plot_uncertainty.C:126]: (style) Variable 'hii' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/Systematics/plot_uncertainty.C:127]: (style) Variable 'loo' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/Systematics/plot_uncertainty.C:171]: (style) Variable 'yMax' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/Systematics/plot_uncertainty.C:237]: (style) Variable 'errUp' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/Systematics/plot_uncertainty.C:238]: (style) Variable 'errDn' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/Systematics/plot_uncertainty.C:239]: (style) Variable 'errUpsig' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/Systematics/plot_uncertainty.C:240]: (style) Variable 'errDnsig' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Vars/GenieWeights.h:43]: (style) Statements following return, break, continue, goto or throw will never be executed.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/Systematics/uncertainty1png.C:73]: (style) Variable 'dataIdx' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/Systematics/uncertainty1png.C:74]: (style) Variable 'nominalIdx' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/make_tmva_NCPi0s_2selection.C:59]: (warning) Conversion of string literal "remid<0.375" to bool always evaluates to true.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/make_tmva_NCPi0s_2selection.C:60]: (warning) Conversion of string literal "remid<0.375" to bool always evaluates to true.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/tree_maker_simple.C:573]: (style) The scope of the variable 'diff' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/tree_maker_simple.C:72]: (style) Unused variable: Run
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/tree_maker_simple.C:73]: (style) Unused variable: SRun
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/tree_maker_simple.C:74]: (style) Unused variable: Evt
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/tree_maker_simple.C:405]: (style) Variable 'IsNC' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/tree_maker_simple.C:461]: (style) Variable 'IsPi0all' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/tree_maker_simple.C:462]: (style) Variable 'IsPi0020' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/tree_maker_simple.C:463]: (style) Variable 'IsPi0025' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/tree_maker_simple.C:464]: (style) Variable 'IsPi0030' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/tree_maker_simple.C:465]: (style) Variable 'IsPi0035' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/tree_maker_simple.C:466]: (style) Variable 'IsPi0040' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/tree_maker_simple.C:467]: (style) Variable 'IsPi0045' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/tree_maker_simple.C:468]: (style) Variable 'IsPi0050' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/tree_maker_simple.C:89]: (style) Unused variable: Is2png
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/tree_maker_simple.C:90]: (style) Unused variable: ShowerNumber
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/tree_maker_simple.C:91]: (style) Unused variable: ProngNumber
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/tree_maker_simple.C:505]: (style) Variable 'nhit' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/tree_maker_simple.C:504]: (style) Variable 'remid' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/tree_maker_simple.C:555]: (style) Variable 'michel' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/tree_maker_simple.C:534]: (style) Variable 'slcCalE' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/tree_maker_simple.C:529]: (style) Variable 'cvnncid' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/tree_maker_simple.C:530]: (style) Variable 'cvnnumu' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/tree_maker_simple.C:531]: (style) Variable 'cvnnue' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/tree_maker_simple.C:532]: (style) Variable 'cvnnutau' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/tree_maker_simple.C:533]: (style) Variable 'cvnphoton' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/tree_maker_simple.C:524]: (style) Variable 'prong1MissingPl' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/tree_maker_simple.C:525]: (style) Variable 'prong1ContPl' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/tree_maker_simple.C:506]: (style) Variable 'prong1Length' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/tree_maker_simple.C:507]: (style) Variable 'prong1Energy' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/tree_maker_simple.C:508]: (style) Variable 'prong1Width' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/tree_maker_simple.C:509]: (style) Variable 'prong1VtxGev' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/tree_maker_simple.C:516]: (style) Variable 'prong1dedx' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/tree_maker_simple.C:517]: (style) Variable 'prong2dedx' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/tree_maker_simple.C:518]: (style) Variable 'prong1epLLL' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/tree_maker_simple.C:111]: (style) Unused variable: prong2epLLL
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/tree_maker_simple.C:519]: (style) Variable 'prong1epLLT' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/tree_maker_simple.C:113]: (style) Unused variable: prong2epLLT
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/tree_maker_simple.C:520]: (style) Variable 'prong1epiLLL' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/tree_maker_simple.C:115]: (style) Unused variable: prong2epiLLL
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/tree_maker_simple.C:521]: (style) Variable 'prong1epiLLT' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/tree_maker_simple.C:117]: (style) Unused variable: prong2epiLLT
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/tree_maker_simple.C:522]: (style) Variable 'prong1epi0LLL' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/tree_maker_simple.C:119]: (style) Unused variable: prong2epi0LLL
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/tree_maker_simple.C:523]: (style) Variable 'prong1epi0LLT' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/tree_maker_simple.C:121]: (style) Unused variable: prong2epi0LLT
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/tree_maker_simple.C:585]: (style) Variable 'shwlidpimass' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/tree_maker_simple.C:567]: (style) Variable 'recopimass' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/tree_maker_simple.C:607]: (style) Variable 'distPngStartPos' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/tree_maker_simple.C:510]: (style) Variable 'png1dirx' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/tree_maker_simple.C:513]: (style) Variable 'png2dirx' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/tree_maker_simple.C:511]: (style) Variable 'png1diry' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/tree_maker_simple.C:514]: (style) Variable 'png2diry' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/tree_maker_simple.C:512]: (style) Variable 'png1dirz' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/tree_maker_simple.C:515]: (style) Variable 'png2dirz' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/tree_maker_simple.C:590]: (style) Variable 'Png1Pur' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/tree_maker_simple.C:591]: (style) Variable 'Png1Eff' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/tree_maker_simple.C:588]: (style) Variable 'Png1Pdg' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/tree_maker_simple.C:589]: (style) Variable 'Png1MotherPdg' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/tree_maker_simple.C:596]: (style) Variable 'Png2Pur' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/tree_maker_simple.C:597]: (style) Variable 'Png2Eff' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/tree_maker_simple.C:594]: (style) Variable 'Png2Pdg' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/tree_maker_simple.C:595]: (style) Variable 'Png2MotherPdg' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/tree_maker_simple.C:197]: (style) Unused variable: file1
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/tree_maker_simple.C:561]: (style) Unused variable: mass1
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:608] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:620]: (performance) Variable 'RecoEnergy_truepimass' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:80]: (style) The scope of the variable 'count_pot' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:174]: (style) The scope of the variable 'IsNCNumu' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:181]: (style) The scope of the variable 'inttype' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:183]: (style) The scope of the variable 'mode' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:185]: (style) The scope of the variable 'nue' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:185]: (style) The scope of the variable 'nue_Vis' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:185]: (style) The scope of the variable 'nue_Vis_slice' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:190]: (style) The scope of the variable 'cvnncid' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:190]: (style) The scope of the variable 'cvnnumu' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:190]: (style) The scope of the variable 'cvnnue' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:190]: (style) The scope of the variable 'cvnnutau' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:200]: (style) The scope of the variable 'prong1Length' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:203]: (style) The scope of the variable 'prong1Energy' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:204]: (style) The scope of the variable 'prong2Energy' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:205]: (style) The scope of the variable 'HadronicEnergy' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:210]: (style) The scope of the variable 'prong1VtxGev' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:213]: (style) The scope of the variable 'prong2dedx' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:224]: (style) The scope of the variable 'prong1epiLLT' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:230]: (style) The scope of the variable 'prong1epi0LLT' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:233]: (style) The scope of the variable 'png1dirx' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:234]: (style) The scope of the variable 'png1diry' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:235]: (style) The scope of the variable 'png1dirz' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:236]: (style) The scope of the variable 'png2dirx' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:237]: (style) The scope of the variable 'png2diry' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:238]: (style) The scope of the variable 'png2dirz' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:248]: (style) The scope of the variable 'Run' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:249]: (style) The scope of the variable 'Subrun' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:250]: (style) The scope of the variable 'Event' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:251]: (style) The scope of the variable 'Cycle' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:252]: (style) The scope of the variable 'SliceNumber' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:82]: (style) Variable 'cutbdtvallow' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:83]: (style) Variable 'cutbdtvalhigh' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:90]: (style) Variable 'countBDTselected_sb' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:92]: (style) Variable 'countTrueSignal_sb' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:93]: (style) Variable 'countTrueBkg_sb' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:108]: (style) Variable 'countSignalBeforeME' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:109]: (style) Variable 'countBkgBeforeME' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:110]: (style) Variable 'countCCBeforeME' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:111]: (style) Variable 'countnoCCBeforeME' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:112]: (style) Variable 'countNCBeforeME' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:130]: (style) Variable 'countSelCCpi0bkg_tot_sb' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:131]: (style) Variable 'countSelCCnopi0bkg_tot_sb' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:132]: (style) Variable 'countSelNCbkg_tot_sb' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:134]: (style) Variable 'countSelCCpi0bkg_rej_sb' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:135]: (style) Variable 'countSelCCnopi0bkg_rej_sb' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:136]: (style) Variable 'countSelNCbkg_rej_sb' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:518]: (style) Variable 'IsNCNumu' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:179]: (style) Unused variable: IsTwoProngs
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:671]: (style) Variable 'inttype' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:182]: (style) Unused variable: michel
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:672]: (style) Variable 'mode' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:673]: (style) Variable 'nue' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:674]: (style) Variable 'nue_Vis' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:675]: (style) Variable 'nue_Vis_slice' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:187]: (style) Unused variable: IsRem
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:701]: (style) Variable 'cvnncid' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:702]: (style) Variable 'cvnnumu' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:703]: (style) Variable 'cvnnue' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:704]: (style) Variable 'cvnnutau' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:192]: (style) Unused variable: TrueMuEn
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:195]: (style) Unused variable: prong2MissingPl
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:198]: (style) Unused variable: prong2ContPl
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:682]: (style) Variable 'prong1Length' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:201]: (style) Unused variable: prong2Length
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:683]: (style) Variable 'prong1Energy' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:684]: (style) Variable 'prong2Energy' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:746]: (style) Variable 'HadronicEnergy' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:208]: (style) Unused variable: prong2Width
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:686]: (style) Variable 'prong1VtxGev' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:688]: (style) Variable 'prong2dedx' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:692]: (style) Variable 'prong1epiLLT' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:694]: (style) Variable 'prong1epi0LLT' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:695]: (style) Variable 'png1dirx' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:696]: (style) Variable 'png1diry' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:697]: (style) Variable 'png1dirz' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/useBDTG.C:698]: (style) Variable 'png2dirx' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_S