[SOLVED] Re: Cppcheck : Variable 'bRet' is reassigned a value in autoform.cxx

2013-01-19 Thread Julien Nabet
On 18/01/2013 12:01, Caolán McNamara wrote: On Thu, 2013-01-17 at 13:54 -0800, julien2412 wrote: What should we do with bRet value, after line 1102? bRet is supposed to return true if the save succeeded s a) changing all the bRets after the initial initialization from bRet = foo to bRet&= fo

Re: Cppcheck : Variable 'bRet' is reassigned a value in autoform.cxx

2013-01-18 Thread Caolán McNamara
On Thu, 2013-01-17 at 13:54 -0800, julien2412 wrote: > What should we do with bRet value, after line 1102? bRet is supposed to return true if the save succeeded s a) changing all the bRets after the initial initialization from bRet = foo to bRet &= foo would ensure that the failed state of any