Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


On Tue, 2012-01-31 at 13:29 -0800, julien2412 wrote:
Hello,

Cppchecks reports this :
core/sw/source/core/doc/ftnidx.cxx
195   duplicateBranch style   Found duplicate branches for if and else.
284   duplicateBranch style   Found duplicate branches for if and else.
...

Could we just remove the if in both cases or must something be added ?

I can't guess if the intention might have been to do something
different. I suggest you go ahead and just remove the duplication and
simplify it.

C.


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.