novasoft cppcheck

Last updated Fri Oct 23 06:30:14 CDT 2020

SoftRelTools


3FlavorAna

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Core/Utilities.h:113]: (error) syntax error
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/3FlavorAna/Ana2017/nue/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/3FlavorAna/Ana2017/nue/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/3FlavorAna/Ana2017/nue/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/3FlavorAna/Ana2017/nue/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/3FlavorAna/Ana2017/nue/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/3FlavorAna/Ana2017/nue/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/3FlavorAna/Ana2017/nue/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/3FlavorAna/Ana2017/nue/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/3FlavorAna/Ana2017/nue/fiducial_mass.C:39]: (style) Variable 'del_a' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/3FlavorAna/Ana2017/nue/fiducial_mass.C:41]: (style) Variable 'del_b' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/3FlavorAna/Ana2017/nue/getHists_FNEX.C:45]: (style) Variable 'nueOnly' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/3FlavorAna/Ana2017/nue/getHists_FNEX.C:46]: (style) Variable 'joint' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/3FlavorAna/Ana2017/nue/getHists_FNEX.C:47]: (style) Variable 'onlyNH' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/3FlavorAna/Ana2017/nue/getHists_FNEX.C:48]: (style) Variable 'onlyIH' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/3FlavorAna/Ana2017/nue/getHists_FNEX.C:118]: (style) Variable 'cosmicscale' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/3FlavorAna/Ana2017/nue/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/3FlavorAna/Ana2017/nue/monoprob.C:34]: (style) Variable 'ssth23' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/3FlavorAna/Ana2018/nue/AcceptSysts/make_nueFDprediction_kinematics_FHC_REW.C:248]: (error) Invalid number of character (() when these macros are defined: ''.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/3FlavorAna/Ana2018/nue/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/3FlavorAna/Ana2018/nue/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/3FlavorAna/Ana2018/nue/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/3FlavorAna/Ana2018/nue/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/3FlavorAna/Ana2018/nue/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/3FlavorAna/Ana2018/nue/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/3FlavorAna/Ana2018/nue/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/3FlavorAna/Ana2018/nue/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/3FlavorAna/Ana2018/nue/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/3FlavorAna/Ana2018/nue/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/3FlavorAna/Ana2018/nue/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/3FlavorAna/Ana2018/nue/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/3FlavorAna/Ana2018/nue/OtherBlessed/make_extrap_figure.C:141] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/3FlavorAna/Ana2018/nue/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/3FlavorAna/Ana2018/nue/OtherBlessed/make_extrap_figure.C:142] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/3FlavorAna/Ana2018/nue/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/3FlavorAna/Ana2018/nue/nova_official_data_release.C:275]: (style) Variable 'empty' is not assigned a value.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/3FlavorAna/Ana2018/nue/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/3FlavorAna/Ana2018/nue/nova_official_data_release.C:280]: (error) Uninitialized variable: empty
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/3FlavorAna/Ana2018/nue/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/3FlavorAna/Ana2018/nue/reach/monoprob.C:40]: (style) Variable 'ssth23' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/3FlavorAna/Ana2018/numu/forFNEX/saveFDMCHists.C:91]: (style) Variable 'preliminary' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/3FlavorAna/Ana2018/shared/plot_prediction_systs.C:92]: (style) Variable 'printtable' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/3FlavorAna/Ana2019/nue/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/3FlavorAna/Ana2019/shared/plot_prediction_systs.C:94]: (style) Variable 'printtable' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/3FlavorAna/Ana2020/joint_fit_2020_loader_tools.h:428]: (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/3FlavorAna/Ana2020/joint_fit_2020_loader_tools.h:458]: (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/3FlavorAna/Ana2020/BlessedPlots/monoprob.C:169]: (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/3FlavorAna/Ana2020/BlessedPlots/monoprob.C:41]: (style) Variable 'ssth23' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/3FlavorAna/Ana2020/NuMu_PIDOptimisation/NuMu2020_MakePIDPlots.C:229]: (style) Variable 'Col' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/3FlavorAna/Ana2020/Systs/genie/genie_check_var.C:36]: (style) Unused variable: fn_pc_univs
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/3FlavorAna/Ana2020/Systs/genie/genie_plot_utils.h:117]: (error) syntax error
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Fit/MCMCSamples.h:110]: (error) syntax error
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/3FlavorAna/Prediction/PredictionExtendToPeripheral.cxx:110]: (style) Variable 'labels' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/3FlavorAna/Prediction/PredictionExtendToPeripheral.cxx:111]: (style) Variable 'bins' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/3FlavorAna/Prediction/PredictionSystJoint2018.cxx:264]: (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/3FlavorAna/Prediction/PredictionSystJoint2018.cxx:265]: (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/3FlavorAna/Prediction/PredictionSystJointDemo.cxx:244]: (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/3FlavorAna/Prediction/PredictionSystJointDemo.cxx:245]: (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/3FlavorAna/Prediction/PredictionSystJointDemo.cxx:143]: (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/3FlavorAna/Prediction/PredictionSystJointDemo.cxx:146]: (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/3FlavorAna/Prediction/PredictionSystNue2017.cxx:237]: (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/3FlavorAna/Prediction/PredictionSystNue2017.cxx:238]: (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/3FlavorAna/Prediction/PredictionSystNue2017.cxx:239]: (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/3FlavorAna/Prediction/PredictionSystNumu2017.cxx:148]: (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/3FlavorAna/Prediction/PredictionSystNumu2017.cxx:149]: (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/3FlavorAna/Prediction/PredictionSystNumu2017.cxx:150]: (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/3FlavorAna/Vars/LSTMEHelperVars.cxx:86]: (error) syntax error
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/3FlavorAna/Vars/OverlayVars.cxx:12]: (style) Statements following return, break, continue, goto or throw will never be executed.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/3FlavorAna/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/3FlavorAna/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/3FlavorAna/nue/cosrejbdt/testfom.C:16]: (style) Unused variable: PxP
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/3FlavorAna/nue/cosrejbdt/testfom.C:16]: (style) Unused variable: PyP
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/3FlavorAna/nue/cosrejbdt/testfom.C:17]: (style) Unused variable: vtxx
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/3FlavorAna/nue/cosrejbdt/testfom.C:17]: (style) Unused variable: vtxy
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/3FlavorAna/nue/cosrejbdt/testfom.C:17]: (style) Unused variable: vtxz
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/3FlavorAna/nue/cosrejbdt/testfom.C:17]: (style) Unused variable: prongl
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/3FlavorAna/nue/cosrejbdt/testfom.C:18]: (style) Unused variable: DistFront
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/3FlavorAna/nue/cosrejbdt/testfom.C:18]: (style) Unused variable: DistEast
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/3FlavorAna/nue/cosrejbdt/testfom.C:18]: (style) Unused variable: DistWest
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/3FlavorAna/nue/cosrejbdt/testfom.C:18]: (style) Unused variable: DistBottom
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/3FlavorAna/nue/cosrejbdt/testfom.C:18]: (style) Unused variable: DistBack
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/3FlavorAna/nue/cosrejbdt/testfom.C:19]: (style) Unused variable: lid
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/3FlavorAna/nue/cosrejbdt/testfom.C:19]: (style) Unused variable: starty
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/3FlavorAna/nue/cosrejbdt/testfom.C:19]: (style) Unused variable: stopy
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/3FlavorAna/nue/cosrejbdt/testfom.C:20]: (style) Unused variable: inelast
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/3FlavorAna/nue/cosrejbdt/testfom.C:20]: (style) Unused variable: hitsperpl
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/3FlavorAna/nue/cosrejbdt/testfom.C:20]: (style) Unused variable: numofshow
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/3FlavorAna/nue/cosrejbdt/testfom.C:20]: (style) Unused variable: widthofshow
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/3FlavorAna/nue/cosrejbdt/testfom.C:20]: (style) Unused variable: costheta
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/3FlavorAna/nue/cosrejbdt/testfom.C:20]: (style) Unused variable: remid
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/3FlavorAna/nue/cosrejbdt/testfom.C:20]: (style) Unused variable: cosang
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/3FlavorAna/nue/cosrejbdt/testfom.C:20]: (style) Unused variable: efrac
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/3FlavorAna/nue/cosrejbdt/testfom.C:20]: (style) Unused variable: nplfr
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/3FlavorAna/nue/cosrejbdt/testfom.C:24]: (style) Unused variable: issig
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/3FlavorAna/nue/cosrejbdt/testfom.C:24]: (style) Unused variable: isbb
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/3FlavorAna/nue/cosrejbdt/testfom.C:154]: (style) Variable 'curbdt' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/3FlavorAna/nue/cosrejbdt/testfom.C:120]: (style) Unused variable: curfom
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/3FlavorAna/nue/systs/genie/genie_check_var.C:36]: (style) Unused variable: fn_pc_univs
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/3FlavorAna/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/3FlavorAna/nue/systs/genie/genie_plot_utils.h:117]: (error) syntax error
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/3FlavorAna/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/3FlavorAna/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/3FlavorAna/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/3FlavorAna/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/3FlavorAna/nue/systs/ppfx/ppfx_check_var.C:82]: (style) Unused variable: fn_pc_univs
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/3FlavorAna/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/3FlavorAna/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/3FlavorAna/nue/systs/ppfx/ppfx_check_var.C:126]: (style) Variable 'pc_fnrms' is assigned a value that is never used.

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:816]: (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/BeamlineUtils/BeamlineGeometry.h:154] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BeamlineUtils/BeamlineGeometry.h:125]: (style) Variable 'Cherenkov' hides enumerator with same name
[/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:3523]: (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/BeamlineUtils/BeamlineGeometry.h:154] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BeamlineUtils/BeamlineGeometry.h:125]: (style) Variable 'Cherenkov' hides enumerator with same name
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BeamlineReco/WCHitFinderAlg.cxx:193]: (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:194]: (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:207]: (style) The scope of the variable 'reco_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.

BeamlineUtils

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BeamlineUtils/BeamlineGeometry.h:154] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BeamlineUtils/BeamlineGeometry.h:125]: (style) Variable 'Cherenkov' hides enumerator with same name
[/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/Core/Utilities.h:113]: (error) syntax error
[/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/Cuts/TimingCuts.cxx:24]: (style) Statements following return, break, continue, goto or throw will never be executed.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Cuts/TimingCuts.cxx:63]: (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/CAFAna/Experiment/SingleSampleExperiment.cxx:76]: (error) syntax error
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Fit/MCMCSamples.h:110]: (error) syntax error
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Fit/Priors.cxx:42]: (style) Statements following return, break, continue, goto or throw will never be executed.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Vars/SplineUtils.cxx:212]: (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:213]: (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:233]: (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:234]: (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:622]: (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:288]: (style) Variable 'x2' is assigned a value that is never used.
[/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/CutOptimization.cxx:92]: (performance) Parameter 'universes' 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/CutOptimization.cxx:102]: (performance) Parameter 'universes' 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/Multiverse.cxx:50]: (style) Variable 'labels' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/XSec/Multiverse.cxx:51]: (style) Variable 'binning' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/XSec/Multiverse.cxx:84]: (style) Variable 'labels' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/XSec/Multiverse.cxx:85]: (style) Variable 'binning' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/XSec/TrivialBkgdEstimator.cxx:82]: (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:731]: (warning) Assignment of function parameter has no effect outside the function.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/XSec/TrivialCrossSectionAnalysis.cxx:732]: (warning) Assignment of function parameter has no effect outside the function.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/XSec/TrivialCrossSectionAnalysis.cxx:733]: (warning) Assignment of function parameter has no effect outside the function.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/XSec/TrivialCrossSectionAnalysis.cxx:734]: (warning) Assignment of function parameter has no effect outside the function.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/XSec/TrivialCrossSectionAnalysis.cxx:735]: (warning) Assignment of function parameter has no effect outside the function.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/grid/diff_spectra.cc:102]: (error) syntax error
[/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/tute/demoPlotSystBands.C:32]: (style) Variable 'dCP' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/xsec_tuning/Ana2018/plotting/make_xsec_wgts_2018_hists.C:4]: (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/Ana2018/plotting/make_xsec_wgts_2018_hists.C:5]: (performance) Parameter 'type' 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/Ana2018/plotting/make_xsec_wgts_2018_hists.C:6]: (performance) Parameter 'period' 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:2160]: (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:2905]: (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:1896]: (style) Variable 'trkinfos' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFMaker/CAFMaker_module.cc:1998]: (style) Variable 'remids' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFMaker/CAFMaker_module.cc:2005]: (style) Variable 'muonids' 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:112]: (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:1531] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/attenuation/AttenuationFit_plugin.cc:1534]: (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:436]: (style) Variable 'PESum' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/attenuation/AttenuationFit_plugin.cc:437]: (style) Variable 'PECount' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/attenuation/AttenuationFit_plugin.cc:438]: (style) Variable 'MeVSum' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/attenuation/AttenuationFit_plugin.cc:439]: (style) Variable 'MeVCount' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/attenuation/AttenuationFit_plugin.cc:1604]: (error) Memory leak: lowess
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/attenuation/MakeAttenuationProfiles_plugin.cc:626] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/attenuation/MakeAttenuationProfiles_plugin.cc:625]: (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:414]: (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:415]: (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:416]: (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:305]: (style) Unused variable: dcmHits
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/macros/DCMOffsetCalculator.C:431]: (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:264]: (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:265]: (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:267]: (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:194]: (style) Variable 'dcutW' 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 'NaTree' 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 'NbTree' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Calibration/macros/fit_thresh_corrs_fb.C:178]: (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:504]: (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:505]: (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:506]: (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:507]: (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:272]: (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:146]: (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:146]: (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:1038]: (error) Mismatching allocation and deallocation: x
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/FarDet/BuildMetricsTree_OnMon.C:1107]: (error) Mismatching allocation and deallocation: dbpass
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/FarDet/BuildMetricsTree_OnMon.C:1106]: (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/SimpleIterate.C:117]: (error) syntax error
[/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:80]: (style) Variable 'is_RHC_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:363]: (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:240]: (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:259]: (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:488]: (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:513]: (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:481]: (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:452]: (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:543]: (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:489]: (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:292]: (style) Variable 'preliminary' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/GoodRuns/NearDet/BuildMetricsTree_OnMon.C:608]: (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:535]: (style) Variable 'procsec' 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:1948] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/OnMonPlotMaker.C:1976]: (performance) Buffer 'title' is being written before its old content has been used.
[/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:1388]: (style) Variable 'lmax' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/Nearline/OnMonPlotMaker.C:2039]: (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/Nearline/validation/TB_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/TB_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/TB_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/TB_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/TB_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/TB_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/TB_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/TB_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/TB_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/TB_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/TB_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/TB_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/TB_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/TB_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/TB_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/TB_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/TB_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/TB_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/TB_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/TB_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/TB_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/TB_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/TB_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)''.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/rcplots/tbpots.C:150]: (style) Variable 'sum' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Commissioning/rcplots/tbpots.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/tbpots.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/tbuptime.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:932]: (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:933]: (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/Core/Utilities.h:113]: (error) syntax error

CovarianceMatrixFit

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/utilities/SelectionUtility.h:108]: (performance) Checking for 'fAllAvailSelections' emptiness might be inefficient. Using fAllAvailSelections.empty() instead of fAllAvailSelections.size() can be faster. fAllAvailSelections.size() can take linear time but fAllAvailSelections.empty() is guaranteed to take constant time.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/utilities/SelectionUtility.h:119]: (performance) Checking for 'fSelectionsToUse' emptiness might be inefficient. Using fSelectionsToUse.empty() instead of fSelectionsToUse.size() can be faster. fSelectionsToUse.size() can take linear time but fSelectionsToUse.empty() is guaranteed to take constant time.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/utilities/SelectionUtility.h:159]: (performance) Checking for 'fSelectionsToUse' emptiness might be inefficient. Using fSelectionsToUse.empty() instead of fSelectionsToUse.size() can be faster. fSelectionsToUse.size() can take linear time but fSelectionsToUse.empty() is guaranteed to take constant time.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/dataProducts/CovarianceMatrixFitdataProducts_dict.cc:2568]: (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/Core/Utilities.h:113]: (error) syntax error
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/macros/compareAsimovUniverseCL.C:105]: (style) The scope of the variable 'td' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/macros/compareAsimovUniverseCL.C:941]: (style) The scope of the variable 'xInput' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/macros/compareAsimovUniverseCL.C:984]: (style) Variable 'tfType2Random' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/macros/compareTextLists.C:281]: (style) Variable 'eventDifferences' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/macros/compareTextLists.C:327]: (style) Variable 'run' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/macros/compareTextLists.C:328]: (style) Variable 'subrun' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/macros/compareTextLists.C:329]: (style) Variable 'event' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/macros/compareTextLists.C:331]: (style) Variable 'slice' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/macros/compareTextLists.C:330]: (style) Variable 'cycle' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/macros/compareTextLists.C:333]: (style) Variable 'cmf_lepe' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/macros/compareTextLists.C:334]: (style) Variable 'cmf_hade' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/macros/compareTextLists.C:335]: (style) Variable 'cmf_ecalo' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/macros/compareTextLists.C:336]: (style) Variable 'cmf_ereco' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/macros/compareTextLists.C:337]: (style) Variable 'cmf_etrue' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/macros/compareTextLists.C:338]: (style) Variable 'cmf_pdg' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/macros/compareTextLists.C:339]: (style) Variable 'cmf_ccnc' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/macros/compareTextLists.C:340]: (style) Variable 'cmf_cvwgt' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/macros/compareTextLists.C:342]: (style) Variable 'caf_lepe' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/macros/compareTextLists.C:343]: (style) Variable 'caf_hade' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/macros/compareTextLists.C:344]: (style) Variable 'caf_ecalo' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/macros/compareTextLists.C:345]: (style) Variable 'caf_ereco' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/macros/compareTextLists.C:346]: (style) Variable 'caf_etrue' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/macros/compareTextLists.C:347]: (style) Variable 'caf_pdg' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/macros/compareTextLists.C:348]: (style) Variable 'caf_ccnc' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/macros/compareTextLists.C:349]: (style) Variable 'caf_cvwgt' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/macros/covarianceCombination.C:62]: (style) The scope of the variable 'covHist' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/macros/covarianceCombination.C:63]: (style) The scope of the variable 'shiftHist' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/macros/deprecated/combineFiles.C:91]: (style) Variable 'nominalBin' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/macros/deprecated/combineFiles.C:92]: (style) Variable 'plus1Sigma' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/macros/deprecated/combineFiles.C:93]: (style) Variable 'minu1Sigma' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/macros/deprecated/compareCMFCAFResults.C:262] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/macros/deprecated/compareCMFCAFResults.C:267]: (performance) Variable 'pad' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/macros/deprecated/compareCMFCAFResults.C:81]: (style) The scope of the variable 'pad' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/macros/deprecated/compareCMFCAFResults.C:240]: (style) The scope of the variable 'pad' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/macros/deprecated/compareEvents.C:240]: (style) The scope of the variable 'deltaCVNPad' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/macros/deprecated/eventListToTextFile.C:170]: (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/CovarianceMatrixFit/macros/deprecated/eventListToTextFile.C:245]: (style) Unused variable: hcFN
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/macros/Utilities.h:383]: (style) Variable 'numUniverses' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/macros/makeContourPlots.C:197]: (style) Variable 'uniBestFitPoints' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/macros/makeContourPlots.C:198]: (style) Variable 'asimovBestFit' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/macros/makeContourPlots.C:239]: (error) Memory leak: uniBestFitPoints
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/macros/makeContourPlots.C:239]: (error) Memory leak: asimovBestFit
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/macros/makeMedianContours.C:336]: (style) Unused variable: grName
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/modules/CMFContourFromLibrary_plugin.cc:180]: (style) The scope of the variable 'xVal' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/modules/CMFContourFromLibrary_plugin.cc:181]: (style) The scope of the variable 'yVal' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/modules/CMFContourFromLibrary_plugin.cc:524]: (style) The scope of the variable 'chiSqr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/modules/CMFFitFeldmanCousinsPoint_plugin.cc:382]: (style) The scope of the variable 'chiSqrInput' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/modules/CMFRandomUniverses_plugin.cc:230]: (style) The scope of the variable 'uni' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/modules/CovarianceFitHelper.cxx:452]: (style) The scope of the variable 'chiSqr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/modules/CovarianceFitHelper.cxx:652]: (style) The scope of the variable 'norm' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/modules/CovarianceMatrixMaker_plugin.cc:317]: (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/CovarianceMatrixFit/modules/EventListManipulator.cxx:627]: (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/CovarianceMatrixFit/modules/EventListManipulator.cxx:628]: (style) The scope of the variable 'cappedExposure' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/modules/EventListManipulator.cxx:657]: (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/CovarianceMatrixFit/modules/EventListManipulator.cxx:901]: (style) Variable 'genieVars' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/modules/EventListManipulator.cxx:910]: (style) Variable 'sysPars' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/utilities/ChiSqrCalculator.cxx:152]: (style) The scope of the variable 'iBin' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/utilities/ChiSqrCalculator.cxx:442]: (style) The scope of the variable 'chi2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/utilities/ParameterUtility.cxx:21]: (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/CovarianceMatrixFit/utilities/ParameterUtility.cxx:22]: (style) The scope of the variable 'nuisance' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/utilities/ParameterUtility.cxx:23]: (style) The scope of the variable 'constraint' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/utilities/ParameterUtility.cxx:24]: (style) The scope of the variable 'centralVal' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/utilities/ParameterUtility.cxx:25]: (style) The scope of the variable 'variance' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/utilities/ParameterUtility.cxx:26]: (style) The scope of the variable 'sigma' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/utilities/ParameterUtility.cxx:27]: (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/CovarianceMatrixFit/utilities/ParameterUtility.cxx:28]: (style) The scope of the variable 'lowerBound' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/utilities/ParameterUtility.cxx:29]: (style) The scope of the variable 'upperBound' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/utilities/PlotUtilities.cxx:665]: (style) The scope of the variable 'norm' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/utilities/PlotUtilities.cxx:692]: (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/CovarianceMatrixFit/utilities/PlotUtilities.cxx:874]: (style) The scope of the variable 'dcsq' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/utilities/PlotUtilities.cxx:916]: (performance) Checking for 'parVals' emptiness might be inefficient. Using parVals.empty() instead of parVals.size() can be faster. parVals.size() can take linear time but parVals.empty() is guaranteed to take constant time.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/utilities/RandomUniverseUtility.cxx:161]: (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/CovarianceMatrixFit/utilities/RandomUniverseUtility.cxx:222]: (style) Variable 'oscStr' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/utilities/SelectionUtility.cxx:39]: (style) Unused variable: selStr
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/utilities/SelectionUtility.cxx:134]: (style) Variable 'detStr' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CovarianceMatrixFit/utilities/SelectionUtility.cxx:135]: (style) Variable 'beamStr' 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:11359]: (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:71]: (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/Core/Utilities.h:113]: (error) syntax error
[/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/BeamlineUtils/BeamlineGeometry.h:154] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BeamlineUtils/BeamlineGeometry.h:125]: (style) Variable 'Cherenkov' hides enumerator with same name

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/Utilities.h:113]: (error) syntax error
[/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.

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/Core/Utilities.h:113]: (error) syntax error
[/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/Demo/Workshops/YoungNOvA2020/FCTutorial2020.C:66]: (style) The scope of the variable 'prog' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/YoungNOvA2020/FCTutorial2020.C:37]: (style) Variable 'nquantiles' 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:400]: (style) Variable 'maxPlane' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/DiFShowerFinder/DiFShowerFinder_module.cc:437]: (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 'minPlane' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/DiFShowerFinder/DiFShowerFinder_module.cc:476]: (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:269]: (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/ElasticArms.cxx:378]: (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/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/CORSIKAGen/CORSIKAGen_module.cc:727] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/EventGenerator/CORSIKAGen/CORSIKAGen_module.cc:731]: (performance) Variable 'dy' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/EventGenerator/CORSIKAGen/CORSIKAGen_module.cc:676]: (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/CORSIKAGen/CORSIKAGen_module.cc:482]: (style) The scope of the variable 'nShowerCntr' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/CORSIKAGen/CORSIKAGen_module.cc:500]: (style) The scope of the variable 'res' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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: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/2016/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/2016/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/2016/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/2016/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/2016/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/2016/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/2016/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/2016/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/2016/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/GiBUU/libgen/convert_gibuu_root_to_evt_lib.cc:125]: (style) Variable 'Enu_out' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/EventGenerator/GiBUU/libgen/convert_gibuu_root_to_evt_lib.cc:124]: (style) Variable 'weight_out' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/EventGenerator/GiBUU/libgen/convert_gibuu_root_to_evt_lib.cc:141]: (style) Variable 'pdg_out' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/EventGenerator/GiBUU/libgen/convert_gibuu_root_to_evt_lib.cc:137]: (style) Variable 'E_out' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/EventGenerator/GiBUU/libgen/convert_gibuu_root_to_evt_lib.cc:138]: (style) Variable 'px_out' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/EventGenerator/GiBUU/libgen/convert_gibuu_root_to_evt_lib.cc:139]: (style) Variable 'py_out' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/EventGenerator/GiBUU/libgen/convert_gibuu_root_to_evt_lib.cc:140]: (style) Variable 'pz_out' 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:106]: (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:157]: (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/OverburdenCalculator_service.cc:19]: (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/OverburdenCalculator_service.cc:7]: (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 'fExcludeVolume' a value by passing the value to the constructor in the initialization list.

Filter

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Filter/EventFilterNoSlice_module.cc:135] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Filter/EventFilterNoSlice_module.cc:137]: (performance) Variable 'inlist' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Filter/TimeFilter_module.cc:159] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Filter/TimeFilter_module.cc:161]: (performance) Variable 'inlist' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Filter/TimeFilter_module.cc:196]: (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.

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/Core/Utilities.h:113]: (error) syntax error
[/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:131]: (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++.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BeamlineUtils/BeamlineGeometry.h:154] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BeamlineUtils/BeamlineGeometry.h:125]: (style) Variable 'Cherenkov' hides enumerator with same name
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/IFDBSpillInfo/TBSpillInfo_module.cc:192]: (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/TBSpillInfo_module.cc:213]: (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/TBSpillInfo_module.cc:235]: (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/TBSpillInfo_module.cc:197]: (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/IFDBSpillInfo/TBSpillInfo_module.cc:219]: (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/IFDBSpillInfo/TBSpillInfo_module.cc:241]: (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.

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++.

MuonID

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/MuonID/MuonIDProd_module.cc:75]: (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 'fWeightFile' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/MuonID/MuonIDProd_module.cc:76]: (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 'fBDTLabel' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/MuonID/MuonIDProd_module.cc:77]: (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/MuonID/MuonIDProd_module.cc:78]: (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 'fTrackInfoLabel' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/MuonID/MuonIDProd_module.cc:79]: (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 'fRemidLabel' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/MuonID/MuonID_dict.cc:826]: (error) No pair for character ('). Can't process file. File is either invalid or unicode, which is currently not supported.

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:593]: (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:303]: (style) Unused variable: newDigits
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/MuonRemove/art/MuonRemove_module.cc:317]: (style) Unused variable: digIter
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/MuonRemove/art/MuonRemove_module.cc:317]: (style) Unused variable: digIterBegin
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/MuonRemove/art/MuonRemove_module.cc:317]: (style) Unused variable: digIterEnd
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/MuonRemove/art/MuonRemove_module.cc:265]: (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/CAFAna/Core/Utilities.h:113]: (error) syntax error
[/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/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/weights/MVAnalysis_BDTG.class.C:283]: (style) Unused private function: 'ReadBDTG::GetNvar'
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/weights/MVAnalysis_BDTG.class.C:284]: (style) Unused private function: 'ReadBDTG::GetType'
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/TMVA/BDT9Variables/weights/MVAnalysis_BDTG.class.C:12018]: (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/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/Variables/CVNphoton/CVNphotonHist.C:61]: (style) Variable 'c1' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/Variables/CVNphoton/Resolution/Correction/FitPlot.C:68]: (style) Variable 'g1' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/Variables/ReMId/FOMCalc.C:54]: (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/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/Variables/ReMId/FOMCalc.C:55]: (style) The scope of the variable 'b' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/Variables/ReMId/FOMCalc.C:56]: (style) The scope of the variable 'fom' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/Variables/ReMId/FOMCalc.C:59]: (style) The scope of the variable 'den' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/Variables/ReMId/ReMIdHist.C:74]: (style) Variable 'c1' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/Variables/VolumeOptimization/FidOptHist.C:49]: (style) Variable 'c1' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/Variables/VolumeOptimization/FidOptHist.C:89]: (style) Variable 'c2' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/Variables/VolumeOptimization/FidOptHist.C:130]: (style) Variable 'c3' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/Variables/VolumeOptimization/ShwZOptHist.C:47]: (style) Variable 'c1' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_SemiInclusive/ncpi0_1prong/Variables/VolumeOptimization/ShwZOptHist.C:57]: (style) Variable 'c3' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/ncpi0_semi_inc_png_cvn/FitPlot.C:65]: (style) Variable 'g1' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/nuebarcc_inc/Analysis/CrossSection/makeXSecPlots1D.C:454]: (error) Invalid number of character (() when these macros are defined: ''.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/nuebarcc_inc/Analysis/CrossSection/makeXSecPlots2D.C:457]: (error) Invalid number of character (() when these macros are defined: ''.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/nuebarcc_inc/Analysis/NeutrinoEnergyEstimator/makeEnergyEstimator.C:90]: (error) Invalid number of character (() when these macros are defined: ''.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/nuebarcc_inc/Analysis/NeutrinoEnergyEstimator/makeFlatWeight.C:26]: (error) Invalid number of character (() when these macros are defined: ''.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/nuebarcc_inc/Analysis/Preselection/CutFlow/preselection_cutflow.C:153]: (error) Invalid number of character (() when these macros are defined: ''.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/nuebarcc_inc/Analysis/Preselection/Optimization/containment_optimization_plots.C:58]: (error) Invalid number of character (() when these macros are defined: ''.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/nuebarcc_inc/Analysis/Preselection/Optimization/fiducial_optimization_plots.C:53]: (error) Invalid number of character (() when these macros are defined: ''.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/nuebarcc_inc/Analysis/Preselection/Optimization/fiducial_optimization_plots_2d.C:61]: (error) Invalid number of character (() when these macros are defined: ''.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/nuebarcc_inc/Analysis/Preselection/Optimization/muonid_optimization_plots.C:29]: (error) Invalid number of character (() when these macros are defined: ''.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/nuebarcc_inc/Analysis/ResolutionStudies/signal_count.C:73]: (error) Invalid number of character (() when these macros are defined: ''.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/nuebarcc_inc/Analysis/WrongSign/wrong_sign_uncertainty.C:233]: (error) Invalid number of character (() when these macros are defined: ''.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/nuecc_inc/NueCCIncCrossSectionAnalysis.cxx:1116]: (style) Variable 'templates' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/nuecc_inc/NueCCIncCrossSectionAnalysis.cxx:1118]: (style) Variable 'analysis' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/numubarcc_inc/Analysis/MubarIDOptimization/make_muonid_opt.C:10]: (style) Variable 'fin' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/numubarcc_inc/Analysis/MubarIDTraining/trimmubarid.C:161]: (style) Variable 'fScatLL' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/numubarcc_inc/Analysis/MubarIDTraining/trimmubarid.C:160]: (style) Variable 'fDedxLL' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/numubarcc_inc/Analysis/MubarIDTraining/trimmubarid.C:166]: (style) Variable 'fAvededxlast10cm' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/numubarcc_inc/Analysis/MubarIDTraining/trimmubarid.C:167]: (style) Variable 'fAvededxlast40cm' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/numubarcc_inc/Analysis/MubarIDTraining/trimmubarid.C:28]: (performance) Parameter 'outputFilename' 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/NDAna/numubarcc_inc/Analysis/MubarIDTraining/trimmubarid.C:28]: (performance) Parameter 'setname' 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/NDAna/numucc_ccPi/macros/pion_energy_estimator.C:184]: (style) The scope of the variable 'recoE_simple' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/numucc_ccPi/macros/pion_energy_estimator.C:185]: (style) The scope of the variable 'recoE_gauss_simple' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/numucc_ccPi/macros/pion_energy_estimator.C:337]: (style) The scope of the variable 'corrected_peak_recoE' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/numucc_ccPi/macros/pion_energy_estimator.C:338]: (style) The scope of the variable 'corrected_mean_recoE' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/numucc_ccPi/macros/pion_energy_estimator.C:429]: (style) The scope of the variable 'recoE' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/numucc_ccPi/macros/pion_energy_estimator.C:430]: (style) The scope of the variable 'recoE_gauss' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/numucc_ccPi/macros/pion_energy_estimator.C:431]: (style) The scope of the variable 'diffE' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/numucc_ccPi/macros/pion_energy_estimator.C:432]: (style) The scope of the variable 'diffE_gauss' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/numucc_ccPi/macros/pion_energy_estimator.C:451]: (style) Variable 'diffE' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/numucc_ccPi/macros/pion_energy_estimator.C:452]: (style) Variable 'diffE_gauss' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/numucc_inc/macros/Calculate_covariances.C:474]: (style) The scope of the variable 'this_shift' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/numucc_inc/macros/Calculate_covariances.C:517]: (style) The scope of the variable 'this_shift' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/numucc_inc/macros/Calculate_covariances.C:109]: (style) Unused variable: h1bfoc_ENu
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/numucc_inc/macros/Calculate_covariances.C:109]: (style) Unused variable: h1dsyst_ENu
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/numucc_inc/macros/Calculate_covariances.C:113]: (style) Unused variable: h1bfoc_Q2
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/numucc_inc/macros/Calculate_covariances.C:113]: (style) Unused variable: h1dsyst_Q2
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/numucc_inc/macros/Calculate_covariances.C:120]: (style) Unused variable: h1bfoc_MuKin
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/numucc_inc/macros/Calculate_covariances.C:120]: (style) Unused variable: h1dsyst_MuKin
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/TrimGsimple/readFlux.h:100]: (style) Variable 'f' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/TrimGsimple/readFlux.h:14]: (style) 'class readFlux' 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/NDAna/xuebing/Flux/TrimGsimple/makeHists.h:15]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::hf'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/TrimGsimple/makeHists.h:17]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::mytree'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/nue/nue_withMIPP/readFlux.h:14]: (style) 'class readFlux' 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/NDAna/xuebing/Flux/nue/nue_withMIPP/makeHists.h:15]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::hf'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/nue/nue_withMIPP/makeHists.h:17]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Enorm'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/nue/nue_withMIPP/makeHists.h:18]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Enorm_muon'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/nue/nue_withMIPP/makeHists.h:19]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Enorm_kaon'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/nue/nue_withMIPP/makeHists.h:20]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::nint'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/nue/nue_withMIPP/makeHists.h:21]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::nint_muon'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/nue/nue_withMIPP/makeHists.h:22]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::nint_kaon'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/nue/nue_withMIPP/makeHists.h:24]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Enorm_total'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/nue/nue_withMIPP/makeHists.h:31]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Enorm_muon_dir'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/nue/nue_withMIPP/makeHists.h:32]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Enorm_muon_indir'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/nue/nue_withMIPP/makeHists.h:33]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Enorm_kaon_dir'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/nue/nue_withMIPP/makeHists.h:34]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Enorm_kaon_indir'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/nue/nue_withMIPP/makeHists.h:41]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::muon_tgtptype'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/nue/nue_withMIPP/makeHists.h:42]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::kaon_tgtptype'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/nue/nue_withMIPP/plots_total.C:7]: (error) syntax error
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/nue/nue_withMIPP/readFlux.C:357]: (style) The scope of the variable 'fromPion' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/xuebing/Flux/nue/nue_withMIPP/readFlux.C:84]: (style) Variable 'hkaon_qgsp' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/nue/nue_withMIPP/readFlux.C:248]: (style) Variable 'weight_piminus_mipp_tot' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/nue/nue_withMIPP/readFlux.C:328]: (style) Variable 'weight_pion_qgsp' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/nue/nue_withMIPP/readFlux.C:330]: (style) Variable 'weight_kaon_qgsp' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/nue/nue_withMIPP/readFlux.C:360]: (style) Variable 'fromPion' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/nue/nue_withMIPP/readFlux.C:681]: (style) Variable 'useMC' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/nue/nue_withMIPP/readFlux.C:685]: (style) Variable 'Nbin' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/nue/nue_withoutMIPP/readFlux.h:14]: (style) 'class readFlux' 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/NDAna/xuebing/Flux/nue/nue_withoutMIPP/makeHists.h:15]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::hf'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/nue/nue_withoutMIPP/makeHists.h:17]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Enorm'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/nue/nue_withoutMIPP/makeHists.h:18]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Enorm_muon'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/nue/nue_withoutMIPP/makeHists.h:19]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Enorm_kaon'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/nue/nue_withoutMIPP/makeHists.h:25]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Enorm_muon_dir'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/nue/nue_withoutMIPP/makeHists.h:26]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Enorm_muon_indir'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/nue/nue_withoutMIPP/makeHists.h:27]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Enorm_kaon_dir'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/nue/nue_withoutMIPP/makeHists.h:28]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Enorm_kaon_indir'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/nue/nue_withoutMIPP/makeHists.h:35]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::muon_tgtptype'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/nue/nue_withoutMIPP/makeHists.h:36]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::kaon_tgtptype'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/nue/nue_withoutMIPP/readFlux.C:263]: (style) The scope of the variable 'fromPion' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/xuebing/Flux/nue/nue_withoutMIPP/readFlux.C:67]: (style) Variable 'hkaon_qgsp' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/nue/nue_withoutMIPP/readFlux.C:160]: (style) Variable 'mipp_pzbins' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/nue/nue_withoutMIPP/readFlux.C:234]: (style) Variable 'weight_pion_qgsp' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/nue/nue_withoutMIPP/readFlux.C:236]: (style) Variable 'weight_kaon_qgsp' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/nue/nue_withoutMIPP/readFlux.C:266]: (style) Variable 'fromPion' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/nue/nue_withoutMIPP/readFlux.C:361]: (style) Variable 'binerr' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/numu/MIPP_plus_NA49/readFlux.h:14]: (style) 'class readFlux' 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/NDAna/xuebing/Flux/numu/MIPP_plus_NA49/makeHists.h:15]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::hf'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/numu/MIPP_plus_NA49/makeHists.h:17]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Enorm'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/numu/MIPP_plus_NA49/makeHists.h:18]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Enorm_pion'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/numu/MIPP_plus_NA49/makeHists.h:19]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Enorm_kaon'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/numu/MIPP_plus_NA49/makeHists.h:25]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::pion_tgtptype'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/numu/MIPP_plus_NA49/makeHists.h:26]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::kaon_tgtptype'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/numu/MIPP_plus_NA49/plots_total.C:7]: (error) syntax error
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/numu/MIPP_plus_NA49/readFlux.C:356]: (style) The scope of the variable 'fromMuon' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/xuebing/Flux/numu/MIPP_plus_NA49/readFlux.C:365]: (style) The scope of the variable 'fromMuonPlus' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/xuebing/Flux/numu/MIPP_plus_NA49/readFlux.C:248]: (style) Variable 'weight_piminus_mipp_tot' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/numu/MIPP_plus_NA49/readFlux.C:327]: (style) Variable 'weight_pion_ftfp_dir' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/numu/MIPP_plus_NA49/readFlux.C:359]: (style) Variable 'fromMuon' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/numu/MIPP_plus_NA49/readFlux.C:366]: (style) Variable 'fromMuonPlus' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/numu/MIPP_plus_NA49/readFlux.C:677]: (style) Variable 'useMC' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/numu/NA49only/readFlux.h:14]: (style) 'class readFlux' 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/NDAna/xuebing/Flux/numu/NA49only/makeHists.h:15]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::hf'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/numu/NA49only/makeHists.h:17]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Enorm'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/numu/NA49only/makeHists.h:18]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Enorm_pion'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/numu/NA49only/makeHists.h:19]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Enorm_kaon'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/numu/NA49only/makeHists.h:35]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::pion_tgtptype'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/numu/NA49only/makeHists.h:36]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::kaon_tgtptype'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/numu/NA49only/plots_total.C:7]: (error) syntax error
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/numu/NA49only/readFlux.C:321]: (style) The scope of the variable 'fromMuon' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/xuebing/Flux/numu/NA49only/readFlux.C:330]: (style) The scope of the variable 'fromMuonPlus' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/xuebing/Flux/numu/NA49only/readFlux.C:21]: (style) Variable 'useMIPPforSecondaryOnly' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/numu/NA49only/readFlux.C:22]: (style) Variable 'useTotalErrForMIPP' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/numu/NA49only/readFlux.C:65]: (style) Variable 'sf_piplus_na49_xf0' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/numu/NA49only/readFlux.C:66]: (style) Variable 'sf_piplus_na49_xf1' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/numu/NA49only/readFlux.C:67]: (style) Variable 'sf_piplus_na49_xf2' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/numu/NA49only/readFlux.C:68]: (style) Variable 'sf_piplus_na49_xf3' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/numu/NA49only/readFlux.C:69]: (style) Variable 'sf_piplus_na49_xf4' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/numu/NA49only/readFlux.C:72]: (style) Variable 'sf_piminus_na49_xf0' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/numu/NA49only/readFlux.C:73]: (style) Variable 'sf_piminus_na49_xf1' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/numu/NA49only/readFlux.C:74]: (style) Variable 'sf_piminus_na49_xf2' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/numu/NA49only/readFlux.C:75]: (style) Variable 'sf_piminus_na49_xf3' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/numu/NA49only/readFlux.C:76]: (style) Variable 'sf_piminus_na49_xf4' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/numu/NA49only/readFlux.C:282]: (style) Variable 'weight_piplus_na49_xf0' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/numu/NA49only/readFlux.C:283]: (style) Variable 'weight_piplus_na49_xf1' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/numu/NA49only/readFlux.C:284]: (style) Variable 'weight_piplus_na49_xf2' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/numu/NA49only/readFlux.C:285]: (style) Variable 'weight_piplus_na49_xf3' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/numu/NA49only/readFlux.C:286]: (style) Variable 'weight_piplus_na49_xf4' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/numu/NA49only/readFlux.C:288]: (style) Variable 'weight_piminus_na49_xf0' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/numu/NA49only/readFlux.C:289]: (style) Variable 'weight_piminus_na49_xf1' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/numu/NA49only/readFlux.C:290]: (style) Variable 'weight_piminus_na49_xf2' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/numu/NA49only/readFlux.C:291]: (style) Variable 'weight_piminus_na49_xf3' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/numu/NA49only/readFlux.C:292]: (style) Variable 'weight_piminus_na49_xf4' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/numu/NA49only/readFlux.C:294]: (style) Variable 'weight_pion_ftfp_dir' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/numu/NA49only/readFlux.C:297]: (style) Variable 'weight_kaon_ftfp_indir' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/numu/NA49only/readFlux.C:324]: (style) Variable 'fromMuon' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Flux/numu/NA49only/readFlux.C:331]: (style) Variable 'fromMuonPlus' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Systematics/ChannelInfo/BadChanList_service.cc:164]: (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/NDAna/xuebing/Systematics/ChannelInfo/BadChanList_service.cc:164]: (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/NDAna/xuebing/Xnue_ana/Analysis/bdt_com.C:18]: (error) syntax error
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/readNtuple.h:17]: (style) 'class readNtuple' 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/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:15]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::hf'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:18]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::ereco_sideband'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:19]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::pe_sideband'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:20]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::costheta_sideband'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:21]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::q2_sideband'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:22]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::pe_costheta_sideband'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:24]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::ereco_sideband_pewgt'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:25]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::pe_sideband_pewgt'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:26]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::costheta_sideband_pewgt'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:27]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::q2_sideband_pewgt'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:28]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Ereco_pewgt'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:30]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Ereco_sideband_qe'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:31]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Ereco_sideband_res'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:32]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Ereco_sideband_dis'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:33]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Ereco_sideband_coh'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:34]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Ereco_sideband_other'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:37]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::xEreco_vs_yEtrue'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:38]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::xEtrue_vs_yEreco'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:41]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::q2_true'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:42]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::q2_true_rebin'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:43]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::q2_reco'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:44]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::q2_reco_rebin'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:45]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::q2_reco_upEhad'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:46]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::q2_reco_downEhad'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:47]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::q2_reco_shift'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:48]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::q2_reco_shift_syst'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:50]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Purity_q2'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:51]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Efficiency_q2'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:52]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::q2_res'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:57]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Eele_true'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:58]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Eele_reco'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:59]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Eele_true_rebin'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:60]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Eele_reco_rebin'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:61]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Eele_reco_upEhad'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:62]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Eele_reco_downEhad'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:63]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Eele_reco_shift'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:64]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Eele_reco_shift_syst'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:66]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Purity_pe'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:67]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Efficiency_pe'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:68]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::pe_res'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:73]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::costheta_true'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:74]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::costheta_reco'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:75]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::costheta_true_rebin'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:76]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::costheta_reco_rebin'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:77]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::costheta_reco_upEhad'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:78]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::costheta_reco_downEhad'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:79]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::costheta_reco_shift'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:80]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::costheta_reco_shift_syst'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:82]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Purity_costheta'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:83]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Efficiency_costheta'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:84]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::costheta_res'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:90]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Lprong_beforecut'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:91]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Fmip_beforecut'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:92]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Ltrack_beforecut'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:93]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Eprong_beforecut'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:94]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::LID_beforecut'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:95]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::BDT_beforecut'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:96]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Ereco_beforecut'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:99]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Purity_bdt'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:100]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Efficiency_bdt'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:101]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Etrue_bdt'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:102]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Ereco_bdt'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:108]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Ereco_raw'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:135]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::lowBDT_Ehadron_signal_up'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:136]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::lowBDT_Ehadron_signal_down'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:139]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Dx'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:140]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Dy'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:141]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Dz'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:143]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::mytree'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:173]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::bdteff_Etrue'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:174]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::bdteff_Ereco'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:175]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::bdteff_qsqr'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:177]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Eres'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:178]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Eratio'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:179]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Etrue_over_Eprong'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:180]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Escale_Etrue'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:181]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Escale_Eprong'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:182]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Escale_vs_Etrue'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:183]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Escale_vs_Eprong'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:184]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Etrue'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:185]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Etrue_total'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:186]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Etrue_center'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:187]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Ereco'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:188]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Ereco_pre'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:189]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Ereco_center'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:190]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Etrue_pre'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:191]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Ereco_up'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:192]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Ereco_down'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:193]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Ereco_before'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:194]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Eres_before'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:195]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Eele_over_Eprong'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:196]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Eele_over_Eprong_Etrue'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:198]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Ereco_bdt00'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:199]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Ereco_bdt0001'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:200]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Ereco_bdt01'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:201]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Ereco_bdt014'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:202]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Ereco_bdt016'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:203]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Ereco_bdt020'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:204]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Ereco_bdt022'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:206]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Eprong'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:207]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Eslice'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:208]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Ediff'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:209]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Ndiff'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:210]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Rdiff'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:212]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::vx'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:213]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::vy'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:214]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::vz'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:215]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::vx_rebin'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:216]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::vy_rebin'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:217]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::vz_rebin'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:218]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::p1_stopx'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:219]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::p1_stopy'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:220]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::p1_stopz'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:221]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Lp1'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:222]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Fmip'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:223]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::ncells_p1'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:224]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::ecells_p1'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:225]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::ncells_sl'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:226]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::ecells_sl'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:227]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Ltrack'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:228]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Nprongs'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:229]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Nshowers'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:230]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Nprongs_good'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:231]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Ebalance'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:233]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::costheta_p1'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:234]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::p2Fmip'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:235]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Fmip_p2d'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:236]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Lp1p2'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:237]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::ecells_10p'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:238]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::ncells_10p'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:240]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::ncells_p2'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:241]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::ncells_p2d'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:242]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::ncells_Fmip_p2'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:243]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::ncells_Fmip_p2d'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:245]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::emaxfrac_2plane'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:246]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::emaxfrac_4plane'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:247]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::emaxfrac_6plane'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:250]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::efrac_plane2'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:251]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::efrac_plane3'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:252]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::efrac_plane4'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:253]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::efrac_plane234'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:254]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::efrac_plane2345'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:255]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::efrac_plane1120'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:257]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::efrac_1sig'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:258]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::efrac_2sig'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:259]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::efrac_4sig'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:260]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::efrac_6sig'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:262]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Wshower_edr2'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:263]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Wshower_e2dr2'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:379]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::LID'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:380]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::BDT7'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:381]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::BDT7ratio'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:384]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::fmip_prong2'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:385]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::efrac_2sig_prong2'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:386]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::emaxfrac_6p_prong2'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:387]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::efrac_10p_prong2'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:388]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::efrac_p2_prong2'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:389]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::efrac_p3_prong2'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:390]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::efrac_p4_prong2'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:391]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::length_prong2'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:393]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::fmip_prong2D'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:394]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::efrac_2sig_prong2D'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:395]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::emaxfrac_6p_prong2D'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:396]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::efrac_10p_prong2D'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:397]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::efrac_p2_prong2D'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:398]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::efrac_p3_prong2D'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:399]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::efrac_p4_prong2D'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:400]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::length_prong2D'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:402]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::fmip_extraprong'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:403]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::efrac_2sig_extraprong'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:404]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::emaxfrac_6p_extraprong'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:405]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::efrac_10p_extraprong'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:406]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::efrac_p2_extraprong'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:407]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::efrac_p3_extraprong'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:408]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::efrac_p4_extraprong'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:409]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::length_extraprong'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/makeHists.h:411]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::bdt_extraprong'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/readNtuple.C:103]: (style) The scope of the variable 'normal_vertex' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/xuebing/Xnue_ana/Analysis/readNtuple.C:416]: (style) The scope of the variable 'itx2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/xuebing/Xnue_ana/Analysis/readNtuple.C:417]: (style) The scope of the variable 'Eitx2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/xuebing/Xnue_ana/Analysis/readNtuple.C:445]: (style) The scope of the variable 'longest_p2d' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/xuebing/Xnue_ana/Analysis/readNtuple.C:786]: (style) The scope of the variable 'eres' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/xuebing/Xnue_ana/Analysis/readNtuple.C:114]: (style) Variable 'normal_vertex' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/readNtuple.C:1463]: (style) Variable 'Nrockevts' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/readNtuple.C:145]: (style) Variable 'minProngLength' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/readNtuple.C:672]: (style) Variable 'vars7' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/readNtuple.C:684]: (style) Variable 'vars7ratio' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/readNtuple.C:1451]: (style) Variable 'vars7extra' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/readNtuple.C:633]: (style) Variable 'shower_dr2' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Analysis/readNtuple.C:835]: (style) Variable 'Q2_beam_true' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Results/Xdiff_gwt.C:9]: (error) syntax error
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/Results/Xsec_final.C:63]: (error) syntax error
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/TrimEvents/readNtuple.h:17]: (style) 'class readNtuple' 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/NDAna/xuebing/Xnue_ana/TrimEvents/makeHists.h:15]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::hf'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/TrimEvents/makeHists.h:17]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::mytree'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/TrimEvents/makeHists.h:19]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::true_vx_before'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/TrimEvents/makeHists.h:20]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::true_vy_before'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/TrimEvents/makeHists.h:21]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::true_vz_before'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/TrimEvents/makeHists.h:23]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::true_vx'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/TrimEvents/makeHists.h:24]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::true_vy'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/TrimEvents/makeHists.h:25]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::true_vz'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/TrimEvents/readNtuple.C:74]: (style) Variable 'minProngLength' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/beamInfo/readNtuple.h:17]: (style) 'class readNtuple' 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/NDAna/xuebing/Xnue_ana/beamInfo/makeHists.h:15]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::hf'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/beamInfo/makeHists.h:17]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::nslices'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/beamInfo/makeHists.h:18]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::potspill'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/beamInfo/makeHists.h:19]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::nslices_potspill'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/beamInfo/makeHists.h:20]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::nslices_potspill_th2f'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/beamInfo/makeHists.h:21]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::nslices_good'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/beamInfo/makeHists.h:22]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::potspill_nonslip'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_ana/beamInfo/makeHists.h:23]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::potspill_slip'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_art/NCAna_module.cc:2165]: (style) The scope of the variable 'Index2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/xuebing/Xnue_art/NCAna_module.cc:2166]: (style) The scope of the variable 'MaxEnergy1' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/xuebing/Xnue_art/NCAna_module.cc:2167]: (style) The scope of the variable 'MaxEnergy2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/xuebing/Xnue_art/NCAna_module.cc:2473]: (style) The scope of the variable 'sin22t23' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/xuebing/Xnue_art/NCAna_module.cc:1427]: (style) Variable 'Napd_24cells_tot' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_art/NCAna_module.cc:1787]: (style) Unused variable: tcellTNS
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_art/NCAna_module.cc:2214]: (style) Unused variable: p1cellPE
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_art/NCAna_module.cc:2216]: (style) Unused variable: p1cellXView
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_art/NCAna_module.cc:2217]: (style) Unused variable: p1cellTNS
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_art/NCAna_module.cc:2276]: (style) Unused variable: slicecellPE
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_art/NCAna_module.cc:2278]: (style) Unused variable: slicecellXView
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_art/NCAna_module.cc:2281]: (style) Unused variable: slicecellNoise
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_art/NCAna_module.cc:2348]: (style) Unused variable: p2dcellW
[/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/NDAna/xuebing/Xnue_art/ROCKMRE_module.cc:835]: (style) The scope of the variable 'MaxEnergy1' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/xuebing/Xnue_art/ROCKMRE_module.cc:856]: (style) Unused variable: p1cellPE
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_art/ROCKMRE_module.cc:858]: (style) Unused variable: p1cellXView
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_art/ROCKMRE_module.cc:859]: (style) Unused variable: p1cellTNS
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_art/ROCKMRE_module.cc:914]: (style) Unused variable: slicecellPE
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_art/ROCKMRE_module.cc:916]: (style) Unused variable: slicecellXView
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_art/ROCKMRE_module.cc:917]: (style) Unused variable: slicecellTNS
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_art/ROCKMRE_module.cc:919]: (style) Unused variable: slicecellNoise
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_art/Xeff_module.cc:898]: (style) The scope of the variable 'ratio' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/xuebing/Xnue_art/Xeff_module.cc:900]: (style) The scope of the variable 'dphi' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/xuebing/Xnue_art/Xeff_module.cc:902]: (style) The scope of the variable 'Index1' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/xuebing/Xnue_art/Xeff_module.cc:963]: (style) The scope of the variable 'Index2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/xuebing/Xnue_art/Xeff_module.cc:965]: (style) The scope of the variable 'MaxEnergy2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/xuebing/Xnue_art/Xeff_module.cc:1000]: (style) Unused variable: p1cellPE
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_art/Xeff_module.cc:1002]: (style) Unused variable: p1cellXView
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_art/Xeff_module.cc:1003]: (style) Unused variable: p1cellTNS
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/Xnue_genie.C:16]: (error) syntax error
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/diffXS/readNtuple.h:17]: (style) 'class readNtuple' 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/NDAna/xuebing/diffXS/makeHists.h:15]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::hf'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/diffXS/makeHists.h:17]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::Xsec_Enu'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/diffXS/makeHists.h:18]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::diffXsec_lepE'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/diffXS/makeHists.h:19]: (style) The class 'makeHists' is unsafe, wrong usage can cause memory/resource leaks for 'makeHists::diffXsec_lepcostheta'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDAna/xuebing/diffXS/readNtuple.C:53]: (style) The scope of the variable 'inclusive' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/xuebing/diffXS/readNtuple.C:62]: (style) Variable 'inclusive' is assigned a value that is never used.

NDReco

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NDReco/NDRecoFxs.cxx:153]: (performance) Parameter 'sliceTracks' 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/NDReco/NDRecoFxs.cxx:289]: (performance) Parameter 'sliceProngs' 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/NDReco/NDReco_dict.cc:3151]: (error) No pair for character ('). Can't process file. File is either invalid or unicode, which is currently not supported.

NDRockMuon


NewEventDisplay

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NewEventDisplay/func/event.h:73]: (performance) Parameter 'track' 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/NewEventDisplay/noe_module.cc: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 'fCellHitLabel' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NewEventDisplay/noe_module.cc: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 'fTrackLabel' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NewEventDisplay/noe_module.cc: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 'fVertexLabel' a value by passing the value to the constructor in the initialization list.

NNbar

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NNbar/NNbarUtilities.cxx:519] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NNbar/NNbarUtilities.cxx:515]: (warning) The iterator incrementing is suspicious - it is incremented at line 519 and then at line 515. The loop might unintentionally skip an element in the container. There is no comparison between these increments to prevent that the iterator is incremented beyond the end.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NNbar/NNbarUtilities.cxx:532] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NNbar/NNbarUtilities.cxx:528]: (warning) The iterator incrementing is suspicious - it is incremented at line 532 and then at line 528. The loop might unintentionally skip an element in the container. There is no comparison between these increments to prevent that the iterator is incremented beyond the end.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NNbar/NNbarUtilities.cxx:545] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NNbar/NNbarUtilities.cxx:541]: (warning) The iterator incrementing is suspicious - it is incremented at line 545 and then at line 541. The loop might unintentionally skip an element in the container. There is no comparison between these increments to prevent that the iterator is incremented beyond the end.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NNbar/NNbarUtilities.cxx:456]: (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/NNbar/NNbarUtilities.cxx:489]: (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/NNbar/RecoAnalysis_module.cc:325]: (style) The scope of the variable 'elasticArmVertX' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NNbar/RecoAnalysis_module.cc:326]: (style) The scope of the variable 'elasticArmVertY' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NNbar/RecoAnalysis_module.cc:327]: (style) The scope of the variable 'elasticArmVertZ' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NNbar/RecoAnalysis_module.cc:454] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NNbar/RecoAnalysis_module.cc:450]: (warning) The iterator incrementing is suspicious - it is incremented at line 454 and then at line 450. The loop might unintentionally skip an element in the container. There is no comparison between these increments to prevent that the iterator is incremented beyond the end.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NNbar/RecoAnalysis_module.cc:468] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NNbar/RecoAnalysis_module.cc:464]: (warning) The iterator incrementing is suspicious - it is incremented at line 468 and then at line 464. The loop might unintentionally skip an element in the container. There is no comparison between these increments to prevent that the iterator is incremented beyond the end.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NNbar/RecoAnalysis_module.cc:482] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NNbar/RecoAnalysis_module.cc:478]: (warning) The iterator incrementing is suspicious - it is incremented at line 482 and then at line 478. The loop might unintentionally skip an element in the container. There is no comparison between these increments to prevent that the iterator is incremented beyond the end.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NNbar/RecoAnalysis_module.cc:391]: (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/NNbar/RecoAnalysis_module.cc:490]: (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/NNbar/SigVsBkgSimCompare_module.cc:196]: (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.

NovaFTS

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

NovaSimMixer


NueSandbox

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NueSandbox/FillNueSandbox_module.cc:545]: (style) The scope of the variable 'dtrk' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NueSandbox/FillNueSandbox_module.cc:546]: (style) The scope of the variable 'dtrkx_min' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NueSandbox/FillNueSandbox_module.cc:547]: (style) The scope of the variable 'dtrkx_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/NueSandbox/FillNueSandbox_module.cc:548]: (style) The scope of the variable 'dtrky_min' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NueSandbox/FillNueSandbox_module.cc:549]: (style) The scope of the variable 'dtrky_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/NueSandbox/FillNueSandbox_module.cc:550]: (style) The scope of the variable 'dz_start_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/NueSandbox/FillNueSandbox_module.cc:551]: (style) The scope of the variable 'dz_stop_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/NueSandbox/FillNueSandbox_module.cc:552]: (style) The scope of the variable 'dz_start_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/NueSandbox/FillNueSandbox_module.cc:553]: (style) The scope of the variable 'dz_stop_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/NueSandbox/FillNueSandbox_module.cc:698]: (style) The scope of the variable 'maxtrackID' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NueSandbox/FillNueSandbox_module.cc:699]: (style) The scope of the variable 'maxtracklen' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NueSandbox/FillNueSandbox_module.cc:931]: (style) The scope of the variable 'DeltaECC' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NueSandbox/FillNueSandbox_module.cc:932]: (style) The scope of the variable 'DeltaENON' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NueSandbox/FillNueSandbox_module.cc:933]: (style) The scope of the variable 'TrueEnergyNON' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NueSandbox/FillNueSandbox_module.cc:934]: (style) The scope of the variable 'ContainmentCC' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NueSandbox/FillNueSandbox_module.cc:935]: (style) The scope of the variable 'ContainmentNN' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NueSandbox/FillNueSandbox_module.cc:936]: (style) The scope of the variable 'EscapedEnergyNN' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NueSandbox/FillNueSandbox_module.cc:937]: (style) The scope of the variable 'EscapedEnergyCC' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NueSandbox/FillNueSandbox_module.cc:486]: (style) Variable 'tothits' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NueSandbox/NueSandbox_dict.cc:826]: (error) No pair for character ('). Can't process file. File is either invalid or unicode, which is currently not supported.

NumuEnergy

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/NumuEAlg.cxx:1046] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/NumuEAlg.cxx:1056]: (performance) Variable 'muonE' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/NumuEAlg.cxx:669]: (style) The scope of the variable 'trackLen' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/NumuEAlg.cxx:1217]: (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/NumuEnergy/NumuEAlg.cxx:1255]: (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/NumuEnergy/NumuEAlg.cxx:1299]: (style) The scope of the variable 'slope2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/NumuEAlg.cxx:1327]: (style) The scope of the variable 'slope2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/NumuEAlg.cxx:1372]: (style) The scope of the variable 'trackLen' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/NumuEAlg.cxx:1411]: (style) The scope of the variable 'trackLen' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/NumuEAlg.cxx:508]: (style) Variable 'trackLen' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/NumuEAlg.h:28]: (style) 'class NumuEAlg' 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/NumuEnergy/NumuEAlg.cxx:198]: (performance) Parameter 'sliceTracks' 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/NumuEnergy/NumuEAlg.cxx:324]: (performance) Parameter 'sliceTracks' 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/NumuEnergy/NumuEAlg.cxx:423]: (performance) Parameter 'sliceTracks' 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/NumuEnergy/NumuEAlg.cxx:639]: (performance) Parameter 'sliceTracks' 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/NumuEnergy/NumuEAlg.cxx:1138]: (performance) Parameter 'sliceTracks' 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/NumuEnergy/NumuEAlg.cxx:1365]: (performance) Parameter 'sliceTracks' 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/NumuEnergy/NumuEAlg.cxx:1404]: (performance) Parameter 'sliceTracks' 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/NumuEnergy/NumuEAna_module.cc:284]: (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.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/NumuEnergy_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/CAFAna/Core/Utilities.h:113]: (error) syntax error
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/scripts_CAFAna/MakeProfileHadEFD.C:84]: (style) Variable 'veryHighBin' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/scripts_CAFAna/MakeProfileHadEFD.C:85]: (style) Variable 'veryLowBin' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/scripts_CAFAna/MakeProfileHadEND.C:84]: (style) Variable 'veryHighBin' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/scripts_CAFAna/MakeProfileHadEND.C:85]: (style) Variable 'veryLowBin' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/scripts_CAFAna/MakeProfileMuEFD.C:80]: (style) Variable 'veryHighBin' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/scripts_CAFAna/MakeProfileMuEFD.C:81]: (style) Variable 'veryLowBin' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/scripts_CAFAna/MakeProfileMuEND.C:80]: (style) Variable 'veryHighBin' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/scripts_CAFAna/MakeProfileMuEND.C:81]: (style) Variable 'veryLowBin' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/scripts_old/MakingProfile.C:139]: (style) Variable 'veryHighBin' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/scripts_old/MakingProfile.C:140]: (style) Variable 'veryLowBin' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/scripts_old/MakingProfileActCatcherND.C:139]: (style) Variable 'veryHighBin' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/scripts_old/MakingProfileActCatcherND.C:140]: (style) Variable 'veryLowBin' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/scripts_old/MakingProfileAllCatcherND.C:131]: (style) Variable 'veryHighBin' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/scripts_old/MakingProfileAllCatcherND.C:132]: (style) Variable 'veryLowBin' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/scripts_old/MakingProfileHadCC.C:78]: (style) Variable 'veryHighBin' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/scripts_old/MakingProfileHadCC.C:79]: (style) Variable 'veryLowBin' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/scripts_old/MakingProfileHadCCND.C:137]: (style) Variable 'veryHighBin' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/scripts_old/MakingProfileHadCCND.C:138]: (style) Variable 'veryLowBin' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/scripts_old/MakingProfileHadCC_FA.C:136]: (style) Variable 'veryHighBin' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/scripts_old/MakingProfileHadCC_FA.C:137]: (style) Variable 'veryLowBin' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/scripts_old/MakingProfileHadNonQE.C:136]: (style) Variable 'veryHighBin' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/scripts_old/MakingProfileHadNonQE.C:137]: (style) Variable 'veryLowBin' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/scripts_old/MakingProfileHadNonQEND.C:138]: (style) Variable 'veryHighBin' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/scripts_old/MakingProfileHadNonQEND.C:139]: (style) Variable 'veryLowBin' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/scripts_old/MakingProfileHadQE.C:136]: (style) Variable 'veryHighBin' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/scripts_old/MakingProfileHadQE.C:137]: (style) Variable 'veryLowBin' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/scripts_old/MakingProfileHadQEND.C:158]: (style) Variable 'veryHighBin' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/scripts_old/MakingProfileHadQEND.C:159]: (style) Variable 'veryLowBin' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/scripts_old/MakingProfileND.C:139]: (style) Variable 'veryHighBin' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/scripts_old/MakingProfileND.C:140]: (style) Variable 'veryLowBin' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/scripts_old/MuonFitLin.C:17] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/scripts_old/MuonFitLin.C:24]: (performance) Variable 'f' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/scripts_old/getPlotsFromNtupleFD.C:37]: (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/NumuEnergy/scripts_old/getPlotsFromNtupleFD.C:272]: (style) Variable 'neutrinoEffPur' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/scripts_old/getPlotsFromNtupleFD.C:276]: (style) Variable 'muonEff' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/scripts_old/getPlotsFromNtupleFD.C:277]: (style) Variable 'muonPur' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/scripts_old/getPlotsFromNtupleND.C:37]: (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/NumuEnergy/scripts_old/getPlotsFromNtupleND.C:71]: (style) The scope of the variable 'FDMslope4' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/scripts_old/getPlotsFromNtupleND.C:175]: (style) The scope of the variable 'muonE' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/scripts_old/getPlotsFromNtupleND.C:198]: (style) The scope of the variable 'muonE' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/scripts_old/getPlotsFromNtupleND.C:492]: (style) Variable 'neutrinoEffPur' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/scripts_old/getPlotsFromNtupleND.C:496]: (style) Variable 'muonEff' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/scripts_old/getPlotsFromNtupleND.C:497]: (style) Variable 'muonPur' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/scripts_old/getPlotsIncludingAllCC.C:35]: (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/NumuEnergy/scripts_old/getPlotsIncludingAllCC.C:68]: (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/NumuEnergy/scripts_old/getPlotsIncludingAllCC.C:95]: (style) Unused variable: AngleQEEnergy
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/scripts_old/getPlotsIncludingAllCC.C:96]: (style) Unused variable: AngleQEError
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/scripts_old/getPlotsIncludingAllCC.C:99]: (style) Unused variable: ndTrkLenAct
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/scripts_old/getPlotsIncludingAllCC.C:100]: (style) Unused variable: ndTrkLenCat
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/scripts_old/getPlotsIncludingAllCC.C:101]: (style) Unused variable: ndTrkCalAct
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/scripts_old/getPlotsIncludingAllCC.C:102]: (style) Unused variable: ndTrkCalTran
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/scripts_old/getPlotsIncludingAllCC.C:103]: (style) Unused variable: ndTrkCalCat
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/scripts_old/getPlotsIncludingAllCC.C:104]: (style) Unused variable: ndHadCalAct
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/scripts_old/getPlotsIncludingAllCC.C:105]: (style) Unused variable: ndHadCalTran
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/scripts_old/getPlotsIncludingAllCC.C:106]: (style) Unused variable: ndHadCalCat
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/scripts_old/getPlotsIncludingAllCC.C:108]: (style) Unused variable: fND
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/scripts_old/getPlotsIncludingAllCC.C:109]: (style) Unused variable: fFD
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/scripts_old/getPlotsIncludingAllCC.C:124]: (style) Unused variable: firstplane
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/scripts_old/getPlotsIncludingAllCC.C:125]: (style) Unused variable: lastplane
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/scripts_old/getPlotsIncludingAllCC.C:126]: (style) Unused variable: nplanestofront
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/scripts_old/getPlotsIncludingAllCC.C:127]: (style) Unused variable: nplanestoback
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/scripts_old/getPlotsIncludingAllCC.C:128]: (style) Unused variable: mincellsfromedge
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/scripts_old/getPlotsIncludingAllCC.C:136]: (style) Unused variable: start_x_reco
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/scripts_old/getPlotsIncludingAllCC.C:137]: (style) Unused variable: start_y_reco
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/scripts_old/getPlotsIncludingAllCC.C:138]: (style) Unused variable: start_z_reco
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/scripts_old/getPlotsIncludingAllCC.C:139]: (style) Unused variable: end_x_reco
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/scripts_old/getPlotsIncludingAllCC.C:140]: (style) Unused variable: end_y_reco
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuEnergy/scripts_old/getPlotsIncludingAllCC.C:141]: (style) Unused variable: end_z_reco

NumuSandbox

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuSandbox/FillSandbox_module.cc:285]: (style) The scope of the variable 'avededxtrk1' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuSandbox/FillSandbox_module.cc:286]: (style) The scope of the variable 'avededxtrk2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuSandbox/FillSandbox_module.cc:287]: (style) The scope of the variable 'avededxtrk1Last4Cells' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuSandbox/FillSandbox_module.cc:288]: (style) The scope of the variable 'avededxtrk2Last4Cells' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuSandbox/FillSandbox_module.cc:289]: (style) The scope of the variable 'avededxtrk1Last6Cells' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuSandbox/FillSandbox_module.cc:290]: (style) The scope of the variable 'avededxtrk2Last6Cells' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuSandbox/FillSandbox_module.cc:291]: (style) The scope of the variable 'avededxtrk1Last8Cells' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuSandbox/FillSandbox_module.cc:292]: (style) The scope of the variable 'avededxtrk2Last8Cells' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuSandbox/FillSandbox_module.cc:293]: (style) The scope of the variable 'scattangletrk1' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuSandbox/FillSandbox_module.cc:294]: (style) The scope of the variable 'scattangletrk2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuSandbox/FillSandbox_module.cc:295]: (style) The scope of the variable 'actvtxx' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuSandbox/FillSandbox_module.cc:296]: (style) The scope of the variable 'slccalE' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuSandbox/FillSandbox_module.cc:398]: (style) The scope of the variable 'trkCCE' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuSandbox/FillSandbox_module.cc:399]: (style) The scope of the variable 'RecoMuonE' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuSandbox/FillSandbox_module.cc:400]: (style) The scope of the variable 'Reco2ndTrkE' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuSandbox/FillSandbox_module.cc:547]: (style) Variable 'trids1' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuSandbox/FillSandbox_module.cc:558]: (style) Variable 'trids2' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuSandbox/FillSandbox_module.cc:81]: (warning) Possible leak in public function. The pointer 'fNumuSandFxs' is not deallocated before it is allocated.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuSandbox/FillSandbox_module.cc:47]: (style) The class 'FillSandbox' is unsafe, wrong usage can cause memory/resource leaks for 'FillSandbox::fNumuSandFxs'. This can for instance be fixed by adding proper cleanup in the destructor.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NumuSandbox/NumuSandFxs.h:9]: (style) 'class NumuSandFxs' 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/NumuSandbox/NumuSandbox_dict.cc:826]: (error) No pair for character ('). Can't process file. File is either invalid or unicode, which is currently not supported.

NusSandbox

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

NuXAna

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Core/Utilities.h:113]: (error) syntax error
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NuXAna/macros/Ana01/Ana01PaperPlot.C:152]: (style) Variable 'c' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NuXAna/macros/Ana01/Ana01PaperPlotME.C:182]: (style) Variable 'c' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NuXAna/macros/NuSPlotFunctions.h:225]: (style) Variable 'potStr' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NuXAna/macros/NuSPlotFunctions.h:234]: (style) Variable 'hNutau' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NuXAna/macros/NuSPlotFunctions.h:305]: (style) Variable 'error' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NuXAna/macros/NuSPlotFunctions.h:458]: (style) Variable 'potStr' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NuXAna/macros/NuSPlotFunctions.h:530]: (style) Variable 'maxvalstack' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NuXAna/macros/Ana01/AnaResultsSpectra.C:66]: (style) Variable 'labelEReco' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NuXAna/macros/NuSPlotFunctions.h:223]: (error) Buffer is accessed out of bounds.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NuXAna/macros/Ana01/DataVtxDistributionAna.C:50]: (style) Variable 'textLocation' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NuXAna/macros/Ana01/DataVtxDistributionAna.C:253]: (style) Variable 'xwidth' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NuXAna/macros/Ana01/ExtendedAxesAna.C:73]: (style) Variable 'labelEReco' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NuXAna/macros/Ana01/NCPaperPlotME.C:142]: (style) Variable 'c' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NuXAna/macros/Ana01/SpectrumParamEffectsAna.C:47]: (style) Variable 'tmpL' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NuXAna/macros/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/NuXAna/macros/MatrixElementContours.C:103]: (style) Variable 'start' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NuXAna/macros/MatrixElementContours.C:103]: (style) Variable 'step' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NuXAna/macros/MatrixElementContours.C:148]: (style) Variable 'cContoursUtau4Umu4' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NuXAna/macros/NCPaperPlot.C:103]: (style) Variable 'fData' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NuXAna/macros/NCPaperPlot.C:128]: (style) Variable 'c' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NuXAna/macros/NuSCalculateCorr.C:27]: (style) The scope of the variable 'foundPeak' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NuXAna/macros/NuSCalculateCorr.C:28]: (style) The scope of the variable 'foundLow' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NuXAna/macros/NuSCalculateCorr.C:29]: (style) The scope of the variable 'foundHigh' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NuXAna/macros/NuSCalculateCorr.C:43]: (style) Variable 'foundPeak' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NuXAna/macros/NuSCalculateCorr.C:58]: (style) Variable 'foundLow' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NuXAna/macros/NuSCalculateCorr.C:74]: (style) Variable 'foundHigh' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NuXAna/macros/NuSCalculateCorr.C:86]: (performance) Parameter 'inFileName' 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/NuXAna/macros/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/NuXAna/macros/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/NuXAna/macros/Nus17/Nus17vsAn01_NuFACT_2D.C:138]: (style) Unused variable: hNus17
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NuXAna/macros/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/NuXAna/macros/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/NuXAna/macros/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/NuXAna/macros/Nus18/AnalyzeNus18Systs.C:34]: (style) Variable 'pot' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NuXAna/macros/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/NuXAna/macros/Nus18/MakePPFXRatios.C:4]: (error) Invalid usage of output stream: '<< std::cout'.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NuXAna/macros/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/NuXAna/macros/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/NuXAna/macros/Nus19FHC/make_cm_pullterm_pdf.C:154]: (style) Unused variable: f
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NuXAna/macros/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/NuXAna/macros/Nus19FHC/make_cm_pullterm_pdf.C:228]: (error) Memory leak: cc
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NuXAna/macros/Nus19FHC/systs/MakeISysts.C:58]: (style) Variable 'name' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NuXAna/macros/Nus19RHC/AnalyzeSysts.C:35]: (style) Variable 'pot' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NuXAna/macros/NusContoursPlusMINOS.C:105]: (style) Variable 'start' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NuXAna/macros/NusContoursPlusMINOS.C:105]: (style) Variable 'step' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NuXAna/macros/NusContoursPlusMINOS.C:118]: (style) Variable 'th24lo' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NuXAna/macros/NusContoursPlusMINOS.C:119]: (style) Variable 'th24hi' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NuXAna/macros/NusContoursPlusMINOS.C:121]: (style) Variable 'th34lo2D' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NuXAna/macros/NusContoursPlusMINOS.C:122]: (style) Variable 'th34hi2D' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NuXAna/macros/NusContoursPlusMINOS.C:140]: (style) Variable 'up68' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NuXAna/macros/NusContoursPlusMINOS.C:147]: (style) Variable 'cContours2D_1yr' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NuXAna/macros/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/NuXAna/macros/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/NuXAna/macros/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/NuXAna/macros/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/NuXAna/macros/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/NuXAna/macros/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/NuXAna/macros/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/NuXAna/macros/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/NuXAna/macros/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/NuXAna/macros/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/NuXAna/macros/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/NuXAna/macros/PIDs/TMVA/CLAShower_BDTA.class.C:299]: (style) Unused private function: 'ReadBDTA::GetNvar'
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NuXAna/macros/PIDs/TMVA/CLAShower_BDTA.class.C:300]: (style) Unused private function: 'ReadBDTA::GetType'
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NuXAna/macros/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/NuXAna/macros/PIDs/TMVA/SA_BDTA.class.C:299]: (style) Unused private function: 'ReadBDTA::GetNvar'
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NuXAna/macros/PIDs/TMVA/SA_BDTA.class.C:300]: (style) Unused private function: 'ReadBDTA::GetType'
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/NuXAna/macros/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/NuXAna/macros/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/NuXAna/macros/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.

OnlineMonitoring

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistos.C:309]: (warning) %u in format string (no. 1) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistos.C:364]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistos.C:364]: (warning) %u in format string (no. 3) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistos.C:384]: (warning) %u in format string (no. 3) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistos.C:384]: (warning) %u in format string (no. 4) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistos.C:76]: (style) Variable 'colors' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistos.C:149]: (style) Variable 'DB_size1' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistos.C:150]: (style) Variable 'DCM_size1' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistos.C:151]: (style) Variable 'MapXbin' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistos.C:152]: (style) Variable 'MapXmin' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistos.C:153]: (style) Variable 'MapXmax' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistos.C:154]: (style) Variable 'MapXsize' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistos.C:155]: (style) Variable 'MapYbin' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistos.C:156]: (style) Variable 'MapYmin' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistos.C:157]: (style) Variable 'MapYmax' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistos.C:193]: (style) Variable 'FEB_size' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistos.C:194]: (style) Variable 'PIX_size' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistos.C:226]: (style) Variable 'runhitbins' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistos.C:393]: (style) Variable 'cAllRates' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistos.C:416]: (style) Variable 'cRatePerRun' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistos.C:214]: (error) Uninitialized variable: runlo
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistos.C:214]: (error) Uninitialized variable: runhi
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:368]: (warning) %u in format string (no. 1) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:368]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:368]: (warning) %u in format string (no. 3) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:368]: (warning) %u in format string (no. 4) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:370]: (warning) %u in format string (no. 1) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:370]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:370]: (warning) %u in format string (no. 3) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:370]: (warning) %u in format string (no. 4) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:372]: (warning) %u in format string (no. 1) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:372]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:372]: (warning) %u in format string (no. 3) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:372]: (warning) %u in format string (no. 4) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:374]: (warning) %u in format string (no. 1) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:374]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:374]: (warning) %u in format string (no. 3) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:374]: (warning) %u in format string (no. 4) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:376]: (warning) %u in format string (no. 1) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:376]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:376]: (warning) %u in format string (no. 3) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:376]: (warning) %u in format string (no. 4) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:378]: (warning) %u in format string (no. 1) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:378]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:378]: (warning) %u in format string (no. 3) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:378]: (warning) %u in format string (no. 4) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:380]: (warning) %u in format string (no. 1) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:380]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:380]: (warning) %u in format string (no. 3) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:380]: (warning) %u in format string (no. 4) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:384]: (warning) %u in format string (no. 1) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:384]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:384]: (warning) %u in format string (no. 3) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:384]: (warning) %u in format string (no. 4) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:386]: (warning) %u in format string (no. 1) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:386]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:386]: (warning) %u in format string (no. 3) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:386]: (warning) %u in format string (no. 4) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:388]: (warning) %u in format string (no. 1) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:388]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:388]: (warning) %u in format string (no. 3) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:388]: (warning) %u in format string (no. 4) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:390]: (warning) %u in format string (no. 1) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:390]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:390]: (warning) %u in format string (no. 3) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:390]: (warning) %u in format string (no. 4) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:392]: (warning) %u in format string (no. 1) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:392]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:392]: (warning) %u in format string (no. 3) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:392]: (warning) %u in format string (no. 4) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:394]: (warning) %u in format string (no. 1) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:394]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:394]: (warning) %u in format string (no. 3) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:394]: (warning) %u in format string (no. 4) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:396]: (warning) %u in format string (no. 1) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:396]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:396]: (warning) %u in format string (no. 3) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:396]: (warning) %u in format string (no. 4) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:590]: (warning) %u in format string (no. 1) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:863]: (warning) %u in format string (no. 1) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:863]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:863]: (warning) %u in format string (no. 3) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:872]: (warning) %u in format string (no. 3) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:872]: (warning) %u in format string (no. 4) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:872]: (warning) %u in format string (no. 5) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:875]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:875]: (warning) %u in format string (no. 3) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:875]: (warning) %u in format string (no. 4) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:957]: (warning) %u in format string (no. 1) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:957]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:957]: (warning) %u in format string (no. 3) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:966]: (warning) %u in format string (no. 3) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:966]: (warning) %u in format string (no. 4) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:966]: (warning) %u in format string (no. 5) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:969]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:969]: (warning) %u in format string (no. 3) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:969]: (warning) %u in format string (no. 4) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:445]: (style) The scope of the variable 'pixadcrate' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/ana/OnMonAnaHistosFEB_IsuueRates.C:449]: (style) The scope of the variable 'runSR' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/ana/OnMonAnaHistosFEB_IsuueRates.C:85]: (style) Variable 'colors' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:176]: (style) Variable 'DB_size1' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:177]: (style) Variable 'DCM_size1' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:178]: (style) Variable 'MapXbin' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:179]: (style) Variable 'MapXmin' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:180]: (style) Variable 'MapXmax' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:181]: (style) Variable 'MapXsize' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:182]: (style) Variable 'MapYbin' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:183]: (style) Variable 'MapYmin' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:184]: (style) Variable 'MapYmax' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:185]: (style) Variable 'MapYdiv' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:187]: (style) Variable 'MapLblS' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:186]: (style) Variable 'MapYoff' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:175]: (style) Variable 'detname' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:199]: (style) Unused variable: lineAPD
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:270]: (style) Variable 'PIX_size' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:440]: (style) Variable 'AllRates' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:441]: (style) Variable 'RatesPerRun' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:522]: (style) Variable 'pixadcrate' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:592]: (style) Variable 'out_file' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:590]: (error) Buffer is accessed out of bounds.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:47]: (performance) Parameter 'datehi' 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/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:47]: (performance) Parameter 'datelo' 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/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:47]: (performance) Parameter 'plotDir' 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/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:361]: (error) Uninitialized variable: numberOfPixels
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:309]: (error) Uninitialized variable: detMaxSR
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosFEB_IsuueRates.C:473]: (error) Uninitialized variable: detMaxSR
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:369]: (warning) %u in format string (no. 1) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:369]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:369]: (warning) %u in format string (no. 3) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:369]: (warning) %u in format string (no. 4) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:371]: (warning) %u in format string (no. 1) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:371]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:371]: (warning) %u in format string (no. 3) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:371]: (warning) %u in format string (no. 4) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:373]: (warning) %u in format string (no. 1) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:373]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:373]: (warning) %u in format string (no. 3) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:373]: (warning) %u in format string (no. 4) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:375]: (warning) %u in format string (no. 1) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:375]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:375]: (warning) %u in format string (no. 3) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:375]: (warning) %u in format string (no. 4) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:377]: (warning) %u in format string (no. 1) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:377]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:377]: (warning) %u in format string (no. 3) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:377]: (warning) %u in format string (no. 4) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:379]: (warning) %u in format string (no. 1) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:379]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:379]: (warning) %u in format string (no. 3) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:379]: (warning) %u in format string (no. 4) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:381]: (warning) %u in format string (no. 1) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:381]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:381]: (warning) %u in format string (no. 3) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:381]: (warning) %u in format string (no. 4) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:385]: (warning) %u in format string (no. 1) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:385]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:385]: (warning) %u in format string (no. 3) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:385]: (warning) %u in format string (no. 4) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:387]: (warning) %u in format string (no. 1) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:387]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:387]: (warning) %u in format string (no. 3) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:387]: (warning) %u in format string (no. 4) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:389]: (warning) %u in format string (no. 1) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:389]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:389]: (warning) %u in format string (no. 3) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:389]: (warning) %u in format string (no. 4) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:391]: (warning) %u in format string (no. 1) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:391]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:391]: (warning) %u in format string (no. 3) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:391]: (warning) %u in format string (no. 4) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:393]: (warning) %u in format string (no. 1) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:393]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:393]: (warning) %u in format string (no. 3) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:393]: (warning) %u in format string (no. 4) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:395]: (warning) %u in format string (no. 1) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:395]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:395]: (warning) %u in format string (no. 3) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:395]: (warning) %u in format string (no. 4) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:397]: (warning) %u in format string (no. 1) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:397]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:397]: (warning) %u in format string (no. 3) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:397]: (warning) %u in format string (no. 4) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:403]: (warning) %u in format string (no. 1) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:403]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:403]: (warning) %u in format string (no. 3) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:403]: (warning) %u in format string (no. 4) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:420]: (warning) %u in format string (no. 1) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:420]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:420]: (warning) %u in format string (no. 3) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:420]: (warning) %u in format string (no. 4) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:576]: (warning) %u in format string (no. 1) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:640]: (warning) %u in format string (no. 1) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:640]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:640]: (warning) %u in format string (no. 3) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:651]: (warning) %u in format string (no. 3) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:651]: (warning) %u in format string (no. 4) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:651]: (warning) %u in format string (no. 5) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:654]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:654]: (warning) %u in format string (no. 3) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:654]: (warning) %u in format string (no. 4) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:674]: (warning) %u in format string (no. 1) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:674]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:674]: (warning) %u in format string (no. 3) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:684]: (warning) %u in format string (no. 3) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:684]: (warning) %u in format string (no. 4) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:684]: (warning) %u in format string (no. 5) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:687]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:687]: (warning) %u in format string (no. 3) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:687]: (warning) %u in format string (no. 4) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:708]: (warning) %u in format string (no. 1) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:708]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:708]: (warning) %u in format string (no. 3) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:717]: (warning) %u in format string (no. 3) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:717]: (warning) %u in format string (no. 4) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:717]: (warning) %u in format string (no. 5) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:720]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:720]: (warning) %u in format string (no. 3) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:720]: (warning) %u in format string (no. 4) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:838]: (warning) %u in format string (no. 1) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:838]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:838]: (warning) %u in format string (no. 3) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:847]: (warning) %u in format string (no. 3) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:847]: (warning) %u in format string (no. 4) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:847]: (warning) %u in format string (no. 5) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:850]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:850]: (warning) %u in format string (no. 3) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:850]: (warning) %u in format string (no. 4) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:931]: (warning) %u in format string (no. 1) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:931]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:931]: (warning) %u in format string (no. 3) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:940]: (warning) %u in format string (no. 3) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:940]: (warning) %u in format string (no. 4) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:940]: (warning) %u in format string (no. 5) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:943]: (warning) %u in format string (no. 2) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:943]: (warning) %u in format string (no. 3) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:943]: (warning) %u in format string (no. 4) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:446]: (style) The scope of the variable 'pixadcrate' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/ana/OnMonAnaHistosPIX.C:450]: (style) The scope of the variable 'runSR' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/ana/OnMonAnaHistosPIX.C:182]: (style) Variable 'DB_size1' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:183]: (style) Variable 'DCM_size1' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:184]: (style) Variable 'MapXbin' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:185]: (style) Variable 'MapXmin' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:186]: (style) Variable 'MapXmax' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:187]: (style) Variable 'MapXsize' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:188]: (style) Variable 'MapYbin' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:189]: (style) Variable 'MapYmin' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:190]: (style) Variable 'MapYmax' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:191]: (style) Variable 'MapYdiv' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:193]: (style) Variable 'MapLblS' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:192]: (style) Variable 'MapYoff' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:181]: (style) Variable 'detname' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:205]: (style) Unused variable: lineAPD
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:441]: (style) Variable 'AllRates' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:442]: (style) Variable 'RatesPerRun' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:513]: (style) Variable 'pixadcrate' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:576]: (error) Buffer is accessed out of bounds.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:51]: (performance) Parameter 'datehi' 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/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:51]: (performance) Parameter 'datelo' 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/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:51]: (performance) Parameter 'plotDir' 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/OnlineMonitoring/ana/OnMonAnaHistosPIX.C:362]: (error) Uninitialized variable: numberOfPixels
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/producer/FEBRatesByDiblock.cxx:59]: (style) The scope of the variable 'secPerRange' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/producer/HistoSet.cxx:215]: (warning) %d in format string (no. 3) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/producer/HistoSet.cxx:232]: (warning) %d in format string (no. 3) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/producer/HistoSet.cxx:263]: (warning) %d in format string (no. 3) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/producer/HistoSet.cxx:280]: (warning) %d in format string (no. 3) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/producer/HistoSet.cxx:206]: (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/OnlineMonitoring/producer/HistoSet.cxx:254]: (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/OnlineMonitoring/producer/HistoSet.cxx:422]: (style) The scope of the variable 'binutc' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/producer/HistoSet.cxx:423]: (style) The scope of the variable 'binutci' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/producer/HistoSet.cxx:458]: (style) The scope of the variable 'binutc' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/producer/HistoSet.cxx:459]: (style) The scope of the variable 'binutci' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/producer/HitMaps.cxx:122]: (style) The scope of the variable 'secPerRange' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/producer/RawEventUnpacker.cxx:274]: (warning) The expression 'true' is of type 'bool' and it is compared against an integer value.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/producer/TriggerPlots.cxx:145]: (style) The scope of the variable 'deltaMT' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/util/IPC.cxx:31] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/util/IPC.cxx:32]: (performance) Buffer 'fShmHdl' is being written before its old content has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/util/hextohdl.cc:9] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/util/hextohdl.cc:10]: (performance) Buffer 'hc' is being written before its old content has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/util/testHardwareMapping.cc:151]: (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.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/util/testIPCBlockServer.cc:40]: (style) Unused variable: name
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/GUIModelData.cxx:35]: (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/OnlineMonitoring/viewer/HeaderBar.cxx:70]: (warning) %d in format string (no. 6) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/HeaderBar.cxx:70]: (warning) %d in format string (no. 7) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/HeaderBar.cxx:70]: (warning) %d in format string (no. 8) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/HeaderBar.cxx:79]: (style) Obsolete function 'asctime' called. It is recommended to use the function 'strftime' instead.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/HistoSource.cxx:16]: (style) The scope of the variable 'in' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/HistoSource.cxx:16]: (style) The scope of the variable 'ex' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/HistogramBrowser.cxx:206]: (style) Variable 'p' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/HwDCMLabel.cxx:71]: (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/HwDCMLabel.cxx:72]: (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/OnlineMonitoring/viewer/HwDCMLabel.cxx:72]: (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/OnlineMonitoring/viewer/HwDCMLabel.cxx:94]: (style) The scope of the variable 'l' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/HwDCMLabel.cxx:115]: (style) The scope of the variable 'l' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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: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.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/HwPCLabel.cxx:98]: (style) The scope of the variable 'l' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/HwPCLabel.cxx:115]: (style) The scope of the variable 'l' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/HwPCLabel.cxx:132]: (style) The scope of the variable 'l' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/HwPCLabel.cxx:148]: (style) The scope of the variable 'l' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/PlotClickHandler.cxx:174]: (warning) %d in format string (no. 3) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:174]: (warning) %d in format string (no. 5) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:174]: (warning) %d in format string (no. 6) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:174]: (warning) %d in format string (no. 7) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:174]: (warning) %d in format string (no. 8) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:189]: (warning) %d in format string (no. 3) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:189]: (warning) %d in format string (no. 4) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:189]: (warning) %d in format string (no. 5) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:212]: (warning) %d in format string (no. 3) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:212]: (warning) %d in format string (no. 4) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:212]: (warning) %d in format string (no. 6) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:212]: (warning) %d in format string (no. 7) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:212]: (warning) %d in format string (no. 8) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:212]: (warning) %d in format string (no. 9) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:227]: (warning) %d in format string (no. 3) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:227]: (warning) %d in format string (no. 4) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:227]: (warning) %d in format string (no. 5) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:227]: (warning) %d in format string (no. 6) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:287]: (warning) %d in format string (no. 3) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:287]: (warning) %d in format string (no. 5) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:287]: (warning) %d in format string (no. 6) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:287]: (warning) %d in format string (no. 7) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:287]: (warning) %d in format string (no. 8) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:287]: (warning) %d in format string (no. 9) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:287]: (warning) %d in format string (no. 10) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:303]: (warning) %d in format string (no. 3) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:303]: (warning) %d in format string (no. 4) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:303]: (warning) %d in format string (no. 5) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:303]: (warning) %d in format string (no. 6) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:327]: (warning) %d in format string (no. 3) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:327]: (warning) %d in format string (no. 4) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:327]: (warning) %d in format string (no. 6) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:327]: (warning) %d in format string (no. 7) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:327]: (warning) %d in format string (no. 8) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:327]: (warning) %d in format string (no. 9) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:327]: (warning) %d in format string (no. 10) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:327]: (warning) %d in format string (no. 11) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:344]: (warning) %d in format string (no. 3) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:344]: (warning) %d in format string (no. 4) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:344]: (warning) %d in format string (no. 5) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:344]: (warning) %d in format string (no. 6) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:344]: (warning) %d in format string (no. 7) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:387]: (warning) %d in format string (no. 3) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:387]: (warning) %d in format string (no. 4) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:387]: (warning) %d in format string (no. 5) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:387]: (warning) %d in format string (no. 6) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:387]: (warning) %d in format string (no. 7) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:387]: (warning) %d in format string (no. 8) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:387]: (warning) %d in format string (no. 9) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:402]: (warning) %d in format string (no. 3) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:418]: (warning) %d in format string (no. 3) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:418]: (warning) %d in format string (no. 4) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:418]: (warning) %d in format string (no. 5) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:418]: (warning) %d in format string (no. 6) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:418]: (warning) %d in format string (no. 7) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:418]: (warning) %d in format string (no. 8) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:418]: (warning) %d in format string (no. 9) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:418]: (warning) %d in format string (no. 10) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:434]: (warning) %d in format string (no. 3) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:472]: (warning) %d in format string (no. 3) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:472]: (warning) %d in format string (no. 4) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:472]: (warning) %d in format string (no. 5) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:472]: (warning) %d in format string (no. 6) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:472]: (warning) %d in format string (no. 7) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:472]: (warning) %d in format string (no. 8) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:472]: (warning) %d in format string (no. 9) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:487]: (warning) %d in format string (no. 3) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:503]: (warning) %d in format string (no. 3) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:503]: (warning) %d in format string (no. 4) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:503]: (warning) %d in format string (no. 5) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:503]: (warning) %d in format string (no. 6) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:503]: (warning) %d in format string (no. 7) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:503]: (warning) %d in format string (no. 8) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:503]: (warning) %d in format string (no. 9) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:503]: (warning) %d in format string (no. 10) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:519]: (warning) %d in format string (no. 3) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:572]: (warning) %d in format string (no. 3) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:572]: (warning) %d in format string (no. 5) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:572]: (warning) %d in format string (no. 6) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:572]: (warning) %d in format string (no. 7) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:572]: (warning) %d in format string (no. 8) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:596]: (warning) %d in format string (no. 3) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:596]: (warning) %d in format string (no. 4) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:596]: (warning) %d in format string (no. 6) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:596]: (warning) %d in format string (no. 7) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:596]: (warning) %d in format string (no. 8) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:596]: (warning) %d in format string (no. 9) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:626]: (warning) %d in format string (no. 3) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:626]: (warning) %d in format string (no. 4) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:706]: (warning) %d in format string (no. 1) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:706]: (warning) %d in format string (no. 2) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:716]: (warning) %d in format string (no. 1) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:716]: (warning) %d in format string (no. 2) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:723]: (warning) %d in format string (no. 1) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:723]: (warning) %d in format string (no. 2) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:730]: (warning) %d in format string (no. 1) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:730]: (warning) %d in format string (no. 2) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:737]: (warning) %d in format string (no. 1) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:737]: (warning) %d in format string (no. 2) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:745]: (warning) %d in format string (no. 1) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:745]: (warning) %d in format string (no. 2) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:752]: (warning) %d in format string (no. 1) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:752]: (warning) %d in format string (no. 2) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:759]: (warning) %d in format string (no. 1) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:759]: (warning) %d in format string (no. 2) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:766]: (warning) %d in format string (no. 1) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:766]: (warning) %d in format string (no. 2) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:774]: (warning) %d in format string (no. 1) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:774]: (warning) %d in format string (no. 2) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:782]: (warning) %d in format string (no. 1) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:782]: (warning) %d in format string (no. 2) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:788]: (warning) %d in format string (no. 1) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:788]: (warning) %d in format string (no. 2) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:794]: (warning) %d in format string (no. 1) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:794]: (warning) %d in format string (no. 2) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:800]: (warning) %d in format string (no. 1) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:800]: (warning) %d in format string (no. 2) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:806]: (warning) %d in format string (no. 1) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:806]: (warning) %d in format string (no. 2) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:812]: (warning) %d in format string (no. 1) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:812]: (warning) %d in format string (no. 2) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:818]: (warning) %d in format string (no. 1) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:818]: (warning) %d in format string (no. 2) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:824]: (warning) %d in format string (no. 1) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:824]: (warning) %d in format string (no. 2) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:830]: (warning) %d in format string (no. 1) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:830]: (warning) %d in format string (no. 2) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:836]: (warning) %d in format string (no. 1) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:836]: (warning) %d in format string (no. 2) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:842]: (warning) %d in format string (no. 1) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:842]: (warning) %d in format string (no. 2) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:848]: (warning) %d in format string (no. 1) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:848]: (warning) %d in format string (no. 2) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:854]: (warning) %d in format string (no. 1) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:854]: (warning) %d in format string (no. 2) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:860]: (warning) %d in format string (no. 1) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:860]: (warning) %d in format string (no. 2) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:866]: (warning) %d in format string (no. 1) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotClickHandler.cxx:866]: (warning) %d in format string (no. 2) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotOptions.cxx:450]: (warning) %d in format string (no. 1) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotOptions.cxx:450]: (warning) %d in format string (no. 2) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotOptions.cxx:450]: (warning) %d in format string (no. 3) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotOptions.cxx:257]: (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/OnlineMonitoring/viewer/PlotOptions.cxx:466]: (style) Obsolete function 'asctime' called. It is recommended to use the function 'strftime' instead.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/PlotViewer.cxx:284]: (style) The scope of the variable 'bin1' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/PlotViewer.cxx:285]: (style) The scope of the variable 'bin2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/PlotViewer.cxx:328]: (style) The scope of the variable 'bin1' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/PlotViewer.cxx:329]: (style) The scope of the variable 'bin2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/PlotViewer.cxx:330]: (style) The scope of the variable 'fill' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/PlotViewer.cxx:331]: (style) The scope of the variable 'err' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/PlotViewer.cxx:358]: (style) The scope of the variable 'bin1' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/PlotViewer.cxx:359]: (style) The scope of the variable 'bin2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/PlotViewer.cxx:361]: (style) The scope of the variable 'err' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/PlotViewer.cxx:386]: (style) The scope of the variable 'bin1' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/PlotViewer.cxx:387]: (style) The scope of the variable 'bin2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/PlotViewer.cxx:389]: (style) The scope of the variable 'err' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/PlotViewer.cxx:413]: (style) The scope of the variable 'bin1' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/PlotViewer.cxx:414]: (style) The scope of the variable 'bin2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/PlotViewer.cxx:416]: (style) The scope of the variable 'err' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/UTCLabel.cxx:61]: (style) The scope of the variable 'l' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/UTCLabel.cxx:72]: (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/UTCLabel.cxx:98]: (style) The scope of the variable 'l' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
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/UTCLabel.cxx:109]: (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/WatchListBox.cxx:98]: (warning) %u in format string (no. 1) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/WatchListBox.cxx:108]: (warning) %u in format string (no. 1) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/WatchListBox.cxx:118]: (warning) %u in format string (no. 1) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/WatchListBox.cxx:128]: (warning) %u in format string (no. 1) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/WatchListBox.cxx:367]: (warning) %u in format string (no. 1) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/WatchListBox.cxx:375]: (warning) %u in format string (no. 1) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/WatchListBox.cxx:383]: (warning) %u in format string (no. 1) requires an unsigned integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/OnlineMonitoring/viewer/WatchListBox.cxx:391]: (warning) %u in format string (no. 1) requires an unsigned integer given in the argument list.

PandAna


PhotonTransport

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/PhotonTransport/BrightnessLevel.cxx:19]: (style) The scope of the variable '_valuemap' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/PhotonTransport/FiberBrightness_service.cc:13]: (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 'fBrightnessLabel' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/PhotonTransport/ImprovedTransport_module.cc:369]: (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/PhotonTransport/PhotonSim/scripts/CalcFiberLoopCorr.C:66]: (style) Variable 'm' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/PhotonTransport/PhotonSim/scripts/PhotonSim.C:97]: (style) Variable 'trapEff' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/PhotonTransport/PhotonSim/scripts/PhotonSim_mp.C:95]: (style) Variable 'Zbins' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/PhotonTransport/PhotonSim/scripts/PhotonSim_mp.C:96]: (style) Variable 'ZbinsAbs' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/PhotonTransport/PhotonSim/scripts/PhotonSim_mp.C:171]: (style) Variable 'fracCollected' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/PhotonTransport/PhotonSim/scripts/PhotonSim_mp.C:172]: (style) Variable 'frac100' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/PhotonTransport/PhotonSim/scripts/PhotonSim_mp.C:173]: (style) Variable 'frac150' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/PhotonTransport/PhotonSim/scripts/PhotonSim_mp.C:174]: (style) Variable 'frac200' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/PhotonTransport/PhotonSim/scripts/PhotonSim_mp.C:175]: (style) Variable 'frac250' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/PhotonTransport/PhotonSim/scripts/PhotonSim_mp.C:176]: (style) Variable 'frac300' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/PhotonTransport/PhotonSim/scripts/PhotonSim_mp.C:177]: (style) Variable 'frac350' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/PhotonTransport/PhotonSim/scripts/PhotonSim_mp.C:178]: (style) Variable 'frac400' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/PhotonTransport/PhotonSim/scripts/PhotonSim_mp.C:179]: (style) Variable 'frac450' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/PhotonTransport/PhotonSim/scripts/PhotonSim_mp.C:180]: (style) Variable 'frac500' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/PhotonTransport/PhotonSim/scripts/PhotonSim_mp.C:142]: (style) Variable 'trapEff' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/PhotonTransport/PhotonSim/scripts/TestDiffuse.C:37]: (style) Variable 'cPoints' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/PhotonTransport/PhotonSim/scripts/TestDiffuse.C:40]: (style) Variable 'cDotProd' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/PhotonTransport/PhotonSim/src/PhotonTracer.cxx:311]: (style) Statements following return, break, continue, goto or throw will never be executed.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/PhotonTransport/PhotonSim/src/PhotonTracer.cxx:136]: (style) The scope of the variable 'epsilon' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/PhotonTransport/PhotonTransport_dict.cc:183]: (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/PhotonTransport/PhotonTransport_module.cc:323]: (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/PhotonTransport/PhotonTransport_module.cc:341]: (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/PhotonTransport/PhotonTransport_module.cc:351]: (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/PhotonTransport/PhotonTransport_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.

Preselection

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Preselection/CosmicVeto_module.cc:191]: (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/Preselection/CosmicVeto_module.cc:191]: (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/Preselection/CosmicVeto_module.cc:192]: (style) The scope of the variable 'diry' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Preselection/CosmicVeto_module.cc:192]: (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/Preselection/CosmicVeto_module.cc:193]: (style) The scope of the variable 'passanglenew' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Preselection/CosmicVeto_module.cc:193]: (style) The scope of the variable 'passangleold' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Preselection/CosmicVeto_module.cc:193]: (style) The scope of the variable 'passthru' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Preselection/NumiFilteringAna_module.cc:310] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Preselection/NumiFilteringAna_module.cc:316]: (performance) Variable 'sminx' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Preselection/NumiFilteringAna_module.cc:310] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Preselection/NumiFilteringAna_module.cc:317]: (performance) Variable 'sminy' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Preselection/NumiFilteringAna_module.cc:310] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Preselection/NumiFilteringAna_module.cc:318]: (performance) Variable 'sminz' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Preselection/NumiFilteringAna_module.cc:311] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Preselection/NumiFilteringAna_module.cc:320]: (performance) Variable 'smaxx' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Preselection/NumiFilteringAna_module.cc:311] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Preselection/NumiFilteringAna_module.cc:321]: (performance) Variable 'smaxy' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Preselection/NumiFilteringAna_module.cc:311] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Preselection/NumiFilteringAna_module.cc:322]: (performance) Variable 'smaxz' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Preselection/NumiFiltering_module.cc:218]: (style) The scope of the variable 'zfront1' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Preselection/NumiFiltering_module.cc:218]: (style) The scope of the variable 'zfront2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Preselection/NumiFiltering_module.cc:218]: (style) The scope of the variable 'zback2' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/Preselection/Preselection_dict.cc:1601]: (error) No pair for character ('). Can't process file. File is either invalid or unicode, which is currently not supported.

ProductMorgue

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

QEEventFinder

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/QEEventFinder/QEEventFinder_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/QEEventFinder/QeFinderVal_module.cc: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 'fSliceLabel' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/QEEventFinder/QeFinderVal_module.cc:73]: (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/QEEventFinder/QeFinderVal_module.cc:74]: (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 'fPIDLabel' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/QEEventFinder/QeFinderVal_module.cc:75]: (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 'fEnergyLabel' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/QEEventFinder/QeFinderVal_module.cc:76]: (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 'fQePIdLabel' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/QEEventFinder/QeFinder_module.cc:200]: (style) The scope of the variable 'offE' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/QEEventFinder/QeFinder_module.cc:201]: (style) The scope of the variable 'ediff' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/QEEventFinder/QeFinder_module.cc:202]: (style) The scope of the variable 'ediffZ' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/QEEventFinder/QeFinder_module.cc:203]: (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/QEEventFinder/QeFinder_module.cc:60]: (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/QEEventFinder/QeFinder_module.cc:61]: (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/QEEventFinder/QeFinder_module.cc:62]: (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 'fPIDLabel' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/QEEventFinder/QeFinder_module.cc:63]: (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 'fEnergyLabel' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/QEEventFinder/QeFinder_module.cc: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 'fKnnLibPath' a value by passing the value to the constructor in the initialization list.

RawData

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RawData/DAQHeaderAna_module.cc:103]: (warning) %d in format string (no. 1) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RawData/DAQHeaderAna_module.cc:103]: (warning) %d in format string (no. 2) requires a signed integer given in the argument list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BeamlineUtils/BeamlineGeometry.h:154] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/BeamlineUtils/BeamlineGeometry.h:125]: (style) Variable 'Cherenkov' hides enumerator with same name
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RawData/RawBeamline.cxx:48]: (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 'fDetectorID' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RawData/RawBeamline.cxx: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 'fChannelID' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RawData/RawBeamline.cxx: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 'fDetectorID' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RawData/RawData_dict.cc:2542]: (error) No pair for character ('). Can't process file. File is either invalid or unicode, which is currently not supported.

ReadoutSim

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReadoutSim/FPGAAlgorithms.cxx:361]: (style) Variable 'norm1' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReadoutSim/PulseShaper.cxx:56] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReadoutSim/PulseShaper.cxx:64]: (performance) Variable 'w1' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReadoutSim/PulseShaper.cxx:56] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReadoutSim/PulseShaper.cxx:65]: (performance) Variable 'w2' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReadoutSim/PulseShaper.cxx:56] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReadoutSim/PulseShaper.cxx:66]: (performance) Variable 'w3' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReadoutSim/PulseShaper.cxx:56] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReadoutSim/PulseShaper.cxx:67]: (performance) Variable 'w4' is reassigned a value before the old one has been used.

RecoBase

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

RecoBaseHit


RecoJMShower

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/JMClusterMerge_module.cc:632] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/JMClusterMerge_module.cc:636]: (performance) Variable 'dHit' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/JMClusterMerge_module.cc:843]: (style) Variable 'sig' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/JMClusterMerge_module.cc:197]: (style) Unused variable: trId
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/JMClusterMerge_module.cc:245]: (style) Variable 'energy' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/JMClusterMerge_module.cc:846]: (style) Unused variable: trackcount
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/JMClusterMerge_module.cc:297]: (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/RecoJMShower/JMClusterMerge_module.cc:376]: (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/RecoJMShower/JMClusterMerge_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/RecoJMShower/JMClusterMerge_module.cc:481]: (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/RecoJMShower/JMClusterMerge_module.cc:528]: (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/RecoJMShower/JMClusterMerge_module.cc:587]: (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/RecoJMShower/JMClusterMerge_module.cc:664]: (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/RecoJMShower/JMClusterMerge_module.cc:714]: (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/RecoJMShower/JMTrackMerge_module.cc:438]: (style) Unused variable: trId
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/JMTrackMerge_module.cc:439]: (style) Unused variable: hitcount
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/JMTrackMerge_module.cc:440]: (style) Unused variable: trackeff
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/JMTrackMerge_module.cc:1154]: (style) Variable 'signal' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/JMTrackMerge_module.cc:849]: (style) Variable 'sig1' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/JMTrackMerge_module.cc:861]: (style) Variable 'sig2' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/JMTrackMerge_module.cc:850]: (style) Variable 'sig1match' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/JMTrackMerge_module.cc:862]: (style) Variable 'sig2match' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/JMTrackMerge_module.cc:1096]: (style) Variable 'sig1' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/JMTrackMerge_module.cc:1108]: (style) Variable 'sig2' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/JMTrackMerge_module.cc:1097]: (style) Variable 'sig1match' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/JMTrackMerge_module.cc:1109]: (style) Variable 'sig2match' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/JMTrackMerge_module.cc:1156]: (style) Unused variable: trackcount
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/JMTrackMerge_module.cc:593]: (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/RecoJMShower/JMTrackMerge_module.cc:629]: (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/RecoJMShower/JMTrackMerge_module.cc:852]: (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/RecoJMShower/JMTrackMerge_module.cc:863]: (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/RecoJMShower/JMTrackMerge_module.cc:1099]: (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/RecoJMShower/JMTrackMerge_module.cc:1110]: (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/RecoJMShower/RecoJMShower_dict.cc:1691]: (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/RecoJMShower/RecoJMShower_module.cc:4337] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/RecoJMShower_module.cc:4342]: (performance) Variable 'probe0r0' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/RecoJMShower_module.cc:4338] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/RecoJMShower_module.cc:4343]: (performance) Variable 'probe0r1' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/RecoJMShower_module.cc:4339] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/RecoJMShower_module.cc:4344]: (performance) Variable 'probe1r0' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/RecoJMShower_module.cc:4340] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/RecoJMShower_module.cc:4345]: (performance) Variable 'probe1r1' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/RecoJMShower_module.cc:4375] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/RecoJMShower_module.cc:4379]: (performance) Variable 'probe0r0' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/RecoJMShower_module.cc:4376] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/RecoJMShower_module.cc:4380]: (performance) Variable 'probe0r1' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/RecoJMShower_module.cc:4377] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/RecoJMShower_module.cc:4381]: (performance) Variable 'probe1r0' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/RecoJMShower_module.cc:4378] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/RecoJMShower_module.cc:4382]: (performance) Variable 'probe1r1' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/RecoJMShower_module.cc:3602] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/RecoJMShower_module.cc:3594]: (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/RecoJMShower/RecoJMShower_module.cc:3624] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/RecoJMShower_module.cc:3618]: (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/RecoJMShower/RecoJMShower_module.cc:3641] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/RecoJMShower_module.cc:3639]: (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/RecoJMShower/RecoJMShower_module.cc:3654] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/RecoJMShower_module.cc:3652]: (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/RecoJMShower/RecoJMShower_module.cc:4781]: (style) The scope of the variable '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/RecoJMShower/RecoJMShower_module.cc:4813]: (style) The scope of the variable '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/RecoJMShower/RecoJMShower_module.cc:2698]: (style) Variable 'sumE' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/RecoJMShower_module.cc:2697]: (style) Variable 'rcn' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEetot.C:42]: (style) Variable 'nsig' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEetot.C:43]: (style) Variable 'nbkg' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEetot.C:78]: (style) Unused variable: evtRun
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEetot.C:79]: (style) Unused variable: evtSRun
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEetot.C:80]: (style) Unused variable: evtEvent
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEetot.C:81]: (style) Unused variable: evtNSlice
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEetot.C:83]: (style) Unused variable: evtPi0Mgg0
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEetot.C:89]: (style) Unused variable: evtPi0Eg1
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEetot.C:90]: (style) Unused variable: evtPi0Eg2
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEetot.C:91]: (style) Unused variable: evtPi0TrueDirMgg0
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEetot.C:92]: (style) Unused variable: evtPi0TrueDirMgg
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEetot.C:96]: (style) Unused variable: evtEtot0
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEetot.C:100]: (style) Unused variable: evtPEtot
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEetot.C:101]: (style) Unused variable: evtTrueEtot
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEetot.C:823]: (style) Variable 'egLLL' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEetot.C:824]: (style) Variable 'egLLT' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEetot.C:825]: (style) Variable 'emuLLL' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEetot.C:826]: (style) Variable 'emuLLT' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEetot.C:827]: (style) Variable 'epi0LLL' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEetot.C:828]: (style) Variable 'epi0LLT' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEetot.C:829]: (style) Variable 'epLLL' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEetot.C:830]: (style) Variable 'epLLT' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEetot.C:831]: (style) Variable 'enLLL' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEetot.C:832]: (style) Variable 'enLLT' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEetot.C:833]: (style) Variable 'epiLLL' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEetot.C:834]: (style) Variable 'epiLLT' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEetot.C:835]: (style) Variable 'gap' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEetot.C:842]: (style) Variable 'pi0mass' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEetot.C:398]: (style) Variable 'vtxgev' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEetot.C:839]: (style) Variable 'shE' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEetot.C:840]: (style) Variable 'nuE' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEetot.C:837]: (style) Variable 'costheta' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEetot.C:838]: (style) Variable 'length' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEetot.C:841]: (style) Variable 'ntrk' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEetot.C:872]: (style) Variable 'trueNuE' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEetot.C:873]: (style) Variable 'etot' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEetot.C:874]: (style) Variable 'enue' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEetot.C:875]: (style) Variable 'sh1Energy' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEetot.C:877]: (style) Variable 'wSig' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEetot.C:881]: (style) Variable 'wBkg' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEetot.C:844]: (style) Variable 'annPi0StartDist' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEetot.C:843]: (style) Variable 'annPi0LineDist' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEetot.C:294]: (style) Variable 'nbNueCC2_a' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEetot.C:299]: (style) Variable 'totBkg' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEtot.C:39]: (style) Variable 'nsig' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEtot.C:40]: (style) Variable 'nbkg' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEtot.C:75]: (style) Unused variable: evtRun
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEtot.C:76]: (style) Unused variable: evtSRun
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEtot.C:77]: (style) Unused variable: evtEvent
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEtot.C:78]: (style) Unused variable: evtNSlice
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEtot.C:80]: (style) Unused variable: evtPi0Mgg0
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEtot.C:86]: (style) Unused variable: evtPi0Eg1
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEtot.C:87]: (style) Unused variable: evtPi0Eg2
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEtot.C:88]: (style) Unused variable: evtPi0TrueDirMgg0
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEtot.C:89]: (style) Unused variable: evtPi0TrueDirMgg
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEtot.C:93]: (style) Unused variable: evtEtot0
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEtot.C:97]: (style) Unused variable: evtPEtot
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEtot.C:98]: (style) Unused variable: evtTrueEtot
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEtot.C:800]: (style) Variable 'egLLL' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEtot.C:801]: (style) Variable 'egLLT' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEtot.C:802]: (style) Variable 'emuLLL' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEtot.C:803]: (style) Variable 'emuLLT' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEtot.C:804]: (style) Variable 'epi0LLL' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEtot.C:805]: (style) Variable 'epi0LLT' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEtot.C:806]: (style) Variable 'epLLL' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEtot.C:807]: (style) Variable 'epLLT' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEtot.C:808]: (style) Variable 'enLLL' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEtot.C:809]: (style) Variable 'enLLT' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEtot.C:810]: (style) Variable 'epiLLL' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEtot.C:811]: (style) Variable 'epiLLT' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEtot.C:812]: (style) Variable 'gap' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEtot.C:818]: (style) Variable 'pi0mass' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEtot.C:387]: (style) Variable 'vtxgev' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEtot.C:816]: (style) Variable 'shE' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEtot.C:814]: (style) Variable 'costheta' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEtot.C:815]: (style) Variable 'length' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEtot.C:817]: (style) Variable 'ntrk' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEtot.C:846]: (style) Variable 'trueNuE' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEtot.C:847]: (style) Variable 'etot' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEtot.C:848]: (style) Variable 'enue' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEtot.C:849]: (style) Variable 'sh1Energy' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEtot.C:851]: (style) Variable 'wSig' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEtot.C:855]: (style) Variable 'wBkg' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEtot.C:820]: (style) Variable 'annPi0StartDist' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEtot.C:819]: (style) Variable 'annPi0LineDist' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEtot.C:286]: (style) Variable 'nbNueCC2_a' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoJMShower/macros/mlpPIDelecallEtot.C:291]: (style) Variable 'totBkg' is assigned a value that is never used.

RecoValidation

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/CAFAna/Core/Utilities.h:113]: (error) syntax error
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoValidation/CVNEventProngDump_module.cc:272]: (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/RecoValidation/CVNEventProngDump_module.cc:275]: (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/RecoValidation/CosmicTrackAna_module.cc:653]: (style) The scope of the variable 'largestStep' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoValidation/CosmicTrackAna_module.cc:1255]: (style) The scope of the variable 'cellWidth' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RecoValidation/Products/RecoValidationProducts_dict.cc:117]: (error) No pair for character ('). Can't process file. File is either invalid or unicode, which is currently not supported.

RecVarPID

[/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/RecVarPID/RecVarPID_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/RecVarPID/RecVarPID_module.cc:557]: (performance) Parameter 'weights_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/RecVarPID/RecVarPID_module.cc:619]: (performance) Parameter 'file_name' is passed by value. It could be passed as a (const) reference which is usually faster and recommended in C++.

ReMId

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/CreateKNNTrainingTrees.C:88]: (style) Variable 'fTrackLength' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/CreateKNNTrainingTrees.C:89]: (style) Variable 'fDedxSep' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/CreateKNNTrainingTrees.C:90]: (style) Variable 'fScatSep' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/CreateKNNTrainingTrees.C:91]: (style) Variable 'fMeasFrac' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/CreateKNNTrainingTrees.C:87]: (style) Variable 'fnuE' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/MakeSampleHistograms.C:32]: (style) Variable 'nlbins' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/MakeSampleHistograms.C:33]: (style) Variable 'lbinwidth' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/MakeSampleHistograms.C:113]: (style) Variable 'c1' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/MakeSampleHistograms.C:118]: (style) Variable 'c2' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/MakeSampleHistograms.C:122]: (style) Variable 'c3' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/MakeSampleHistograms.C:126]: (style) Variable 'c4' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/ReMIdDedxFD_module.cc:459]: (style) Unused variable: dedxpls
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/ReMIdDedxFD_module.cc:189]: (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 'fHitModuleLabel' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/ReMIdDedxFD_module.cc:190]: (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/ReMId/ReMIdDedxFD_module.cc:191]: (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/ReMId/ReMIdDedxFD_module.cc:193]: (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 'fGeneratorLabel' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/ReMIdDedxFD_module.cc:194]: (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 'fNumuEnergyLabel' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/ReMIdDedxRock_module.cc:580]: (style) Unused variable: xdedxs
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/ReMIdDedxRock_module.cc:581]: (style) Unused variable: dedxpls
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/ReMIdDedxRock_module.cc:213]: (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 'fHitModuleLabel' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/ReMIdDedxRock_module.cc:214]: (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/ReMId/ReMIdDedxRock_module.cc:215]: (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/ReMId/ReMIdDedxRock_module.cc:216]: (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 'fPidLabel' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/ReMIdDedxRock_module.cc:217]: (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 'fGeneratorLabel' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/ReMIdDedxRock_module.cc:218]: (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 'fNumiBeamLabel' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/ReMIdDedxRock_module.cc:219]: (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 'fSpillQualLabel' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/ReMIdDedxRock_module.cc:220]: (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 'fNumuEnergyLabel' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/ReMIdDedxRock_module.cc:221]: (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 'fQepidLabel' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/ReMIdDedxStudies_module.cc:651]: (style) Unused variable: xdedxs
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/ReMIdDedxStudies_module.cc:652]: (style) Unused variable: dedxpls
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/ReMIdDedxStudies_module.cc:1018]: (style) Unused variable: xdedxp
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/ReMIdDedxStudies_module.cc:1019]: (style) Unused variable: dedxplp
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/ReMIdDedxStudies_module.cc:239]: (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 'fHitModuleLabel' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/ReMIdDedxStudies_module.cc:240]: (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/ReMId/ReMIdDedxStudies_module.cc:241]: (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/ReMId/ReMIdDedxStudies_module.cc:242]: (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 'fPidLabel' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/ReMIdDedxStudies_module.cc:243]: (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 'fGeneratorLabel' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/ReMIdDedxStudies_module.cc:244]: (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 'fNumiBeamLabel' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/ReMIdDedxStudies_module.cc:245]: (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 'fSpillQualLabel' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/ReMIdDedxStudies_module.cc:246]: (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 'fNumuEnergyLabel' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/ReMIdDedxStudies_module.cc:247]: (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 'fQepidLabel' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/ReMIdDedx_module.cc:161]: (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 'fHitModuleLabel' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/ReMIdDedx_module.cc:162]: (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/ReMId/ReMIdDedx_module.cc:163]: (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/ReMId/ReMIdDedx_module.cc:164]: (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 'fPidLabel' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/ReMIdDedx_module.cc:165]: (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 'fGeneratorLabel' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/ReMIdDedx_module.cc:166]: (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 'fNumiBeamLabel' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/ReMIdDedx_module.cc:167]: (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 'fSpillQualLabel' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/ReMIdDedx_module.cc:168]: (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 'fNumuEnergyLabel' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/ReMIdDedx_module.cc:169]: (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 'fQepidLabel' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/ReMIdTrain_module.cc:123]: (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/ReMId/ReMIdTrain_module.cc:124]: (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/ReMId/ReMIdTrain_module.cc:125]: (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 'fPidLabel' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/ReMIdValidate_module.cc:374] -> [/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/ReMIdValidate_module.cc:375]: (performance) Variable 'zmax' is reassigned a value before the old one has been used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/ReMIdValidate_module.cc:90]: (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/ReMId/ReMIdValidate_module.cc:91]: (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/ReMId/ReMIdValidate_module.cc:92]: (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 'fPidLabel' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/ReMId_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/ReMId/RecoMuon_module.cc: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 'fDedxSignalFile' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/RecoMuon_module.cc:120]: (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 'fDedxBackgroundFile' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/RecoMuon_module.cc:121]: (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 'fMuonScatterFile' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/RecoMuon_module.cc:122]: (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 'fPionScatterFile' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/RecoMuon_module.cc:124]: (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 'fHistLibPath' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/RecoMuon_module.cc:125]: (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 'fPIDLibPath' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/RecoMuon_module.cc:127]: (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 'fGeneratorLabel' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/RecoMuon_module.cc:128]: (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 'fNuMIBeamLabel' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/RecoMuon_module.cc:130]: (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 'fPIDMethodFD' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/RecoMuon_module.cc:131]: (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 'fPIDMethodND' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/RecoMuon_module.cc:133]: (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/ReMId/RecoMuon_module.cc:134]: (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/ReMId/scripts/CountProton.C:30]: (style) Variable 'c1' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/scripts/DedxComp.C:280]: (style) The scope of the variable 'lowTruncate' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/scripts/DedxComp.C:281]: (style) The scope of the variable 'highTruncate' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/scripts/DedxComp.C:59]: (style) Variable 'textSizeFac' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/scripts/DedxComp.C:60]: (style) Variable 'marginSize' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/scripts/DedxComp.C:94]: (style) Variable 'textsizeAl' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/scripts/DedxComp.C:91]: (style) Variable 'textsizeo' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/scripts/DedxCompBirk.C:280]: (style) The scope of the variable 'lowTruncate' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/scripts/DedxCompBirk.C:281]: (style) The scope of the variable 'highTruncate' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/scripts/DedxCompBirk.C:59]: (style) Variable 'textSizeFac' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/scripts/DedxCompBirk.C:60]: (style) Variable 'marginSize' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/scripts/DedxCompBirk.C:94]: (style) Variable 'textsizeAl' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/scripts/DedxCompBirk.C:91]: (style) Variable 'textsizeo' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/scripts/DedxGamma.C:286]: (style) The scope of the variable 'lowTruncate' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/scripts/DedxGamma.C:287]: (style) The scope of the variable 'highTruncate' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/scripts/DedxGamma.C:59]: (style) Variable 'textSizeFac' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/scripts/DedxGamma.C:60]: (style) Variable 'marginSize' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/scripts/DedxGamma.C:94]: (style) Variable 'textsizeAl' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/scripts/DedxGamma.C:91]: (style) Variable 'textsizeo' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/scripts/MuonTreeLoopForPionSample.C:65]: (style) Variable 'c1' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/scripts/PionDedxComp.C:59]: (style) Variable 'textSizeFac' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/scripts/PionDedxComp.C:60]: (style) Variable 'marginSize' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/scripts/PionDedxComp.C:94]: (style) Variable 'textsizeAl' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/scripts/PionDedxComp.C:91]: (style) Variable 'textsizeo' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/scripts/PionSignalTreeLoop.C:70]: (style) Variable 'c1' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/scripts/PionSignalTreeLoop.C:72]: (warning) Conversion of string literal "Pionvert == 0 && Pionused == 1" to bool always evaluates to true.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/scripts/PionTreeLoop.C:70]: (style) Variable 'c1' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/scripts/ProtonDedxComp.C:59]: (style) Variable 'textSizeFac' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/scripts/ProtonDedxComp.C:60]: (style) Variable 'marginSize' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/scripts/ProtonDedxComp.C:94]: (style) Variable 'textsizeAl' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/scripts/ProtonDedxComp.C:91]: (style) Variable 'textsizeo' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/scripts/ProtonDedxCompBirk.C:59]: (style) Variable 'textSizeFac' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/scripts/ProtonDedxCompBirk.C:60]: (style) Variable 'marginSize' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/scripts/ProtonDedxCompBirk.C:94]: (style) Variable 'textsizeAl' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/scripts/ProtonDedxCompBirk.C:91]: (style) Variable 'textsizeo' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/scripts/ProtonSignalTreeLoop.C:72]: (style) Variable 'c1' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/scripts/ProtonSignalTreeLoop.C:75]: (warning) Conversion of string literal "passOffTrackHits == 1 && passOffTrackEnergy == 1 && passHadEOnMuonTrack == 1 && passVertX == 1 && passVertY == 1 && passVertZ == 1 && passProtonRemid == 1 && passDedxRatio == 1 && passEDiffZTest == 1" to bool always evaluates to true.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/scripts/ProtonTreeLoop.C:65]: (style) Variable 'c1' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/scripts/ProtonTreeLoopGamma.C:82]: (style) Variable 'c1' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/scripts/TreeLoop.C:70]: (style) Variable 'c1' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/scripts/TreeLoop.C:72]: (warning) Conversion of string literal "vert == 0 && used == 1" to bool always evaluates to true.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/scripts/TreeLoopGamma.C:22]: (style) The scope of the variable 'FDMslope4' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/scripts/TreeLoopGamma.C:105]: (style) Variable 'c1' is assigned a value that is never used.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/scripts/TreeLoopGamma.C:107]: (warning) Conversion of string literal "vert == 0 && used == 1" to bool always evaluates to true.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/ReMId/tmva_new_train.C:49]: (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/ReMId/tmva_new_train.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.

RunHistory

[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RunHistory/RunHistory.cxx:1133]: (style) The scope of the variable 'pGain' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RunHistory/RunHistory.cxx:2330]: (style) The scope of the variable 'res' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RunHistory/RunHistory.cxx:2345]: (style) The scope of the variable 'batch' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RunHistory/RunHistory.cxx:2508]: (style) The scope of the variable 'res' can be reduced. Warning: Be careful when fixing this message, especially when there are inner loops. Here is an example where cppcheck will write that the scope for 'i' can be reduced:
void f(int x)
{
    int i = 0;
    if (x) {
        // it's safe to move 'int i = 0;' here
        for (int n = 0; n < 10; ++n) {
            // it is possible but not safe to move 'int i = 0;' here
            do_something(&i);
        }
    }
}
When you see this message it is always safe to reduce the variable scope 1 level.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RunHistory/RunHistory.cxx:497]: (style) Unused variable: dcmName
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RunHistory/RunHistory.cxx:2312]: (style) Unused variable: notInstalledAPD
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RunHistory/RunHistory.cxx:2489]: (style) Unused variable: febtoapd
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RunHistory/RunHistory.cxx: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 '_badChanVersion' a value by passing the value to the constructor in the initialization list.
[/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/development/RunHistory/RunHistory.cxx:117]: (performance) When an object of a class is created, the constructors of all member variables are called consecutively in the order