Several lines not executed in a function of MacabDatabaseMetaData.cxx

Julien Nabet serval2412 at yahoo.fr
Sun Feb 5 04:41:52 PST 2012


On 05/02/2012 12:52, Lionel Elie Mamane wrote:
> On Sun, Feb 05, 2012 at 01:04:32AM -0800, julien2412 wrote:
>
>> Cppcheck reports this :
>> core/connectivity/source/drivers/macab/MacabDatabaseMetaData.cxx
>> 1044	unreachableCode	style	Statements following return, break, continue,
>> goto or throw will never be executed.
>> Here I hesitate to just remove all the lines after the
>> return. Perhaps the return is wrong.
> Yeah, the code *after* the return looks quite sane, actually. I'd
> remove the first return.
Hi Lionel,

I commited and pushed on master (df58753d51c41253f26104d146a73ba74c42e33e).
Thanks for your piece of advice !

Julien.



More information about the LibreOffice mailing list