[Libreoffice] [PATCH] improve style according to cppcheck
nthiebaud at gmail.com
Sat Nov 27 11:39:45 PST 2010
On Sat, Nov 27, 2010 at 12:09 PM, Christian Lohmaier
<lohmaier+libreoffice at googlemail.com> wrote:
> Hi *,
> On Sat, Nov 27, 2010 at 5:40 PM, Takeshi Abe <tabe at fixedpoint.jp> wrote:
>> [cppcheck patches]
> I'm curious: Why does cppcheck "complain" about "for.... i++" and
> suggests/demands pre-increment instead (for ... ++i)?
> Is there any noticable difference?
In my opinion:
If there is a noticeable difference -- in a place where the 2 forms
are indeed interchangeable -- then this is a bug to be filed with the
And if they are not interchangeable in the context, then cppcheck
should be silent....
> LibreOffice mailing list
> LibreOffice at lists.freedesktop.org
More information about the LibreOffice