Re: [PUSHED:master,3-5] Cppcheck reports "Logical disjunction always evaluates to true" in sdext module

2012-03-20 Thread Petr Mladek
julien2412 píše v Ne 18. 03. 2012 v 10:24 -0700: > Hello, > > Cppcheck reports this in sdext module : > [source/minimizer/optimizerdialog.cxx:276]: (warning) Logical disjunction > always evaluates to true: nNewStep >= 0 || nNewStep <= 4 > Here is the line : > if ( ( nNewStep != mnCurrentStep ) &&

Cppcheck reports "Logical disjunction always evaluates to true" in sdext module

2012-03-18 Thread julien2412
st the condition change, I can commit and push on master (what about 3.5 ?) About the exception, I don't know what to put. Julien. -- View this message in context: http://nabble.documentfoundation.org/Cppcheck-reports-Logical-disjunction-always-evaluates-to-true-in-sdext-module-tp383691