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


On Tue, 2011-01-25 at 18:45 +0100, Kenneth Venken wrote:
Hi,

these patches solve some of the 'redundant assignment to self'
warnings.

Looks good. Thanks for these, all pushed.

re: 0001-Cpp-cleanliness-redundant-assignment-to-s.components.patch, I
suppose we could catch those exceptions by const reference in general,
but I generally don't bother myself either.

re: 0001-Cpp-cleanliness-redundant-assignment-to-self.ure.patch, FWIW
for those parameter used in one ifdef vs another personally I typically
stick (void) parameter in the #else branch to silence the compiler and
cppcheck and friends.

re: 0001-Cpp-cleanliness-redundant-assignment-to-se.libs-core.patch
looking at that, the whole nPos thing seems useless as far as I can see
and we can remove it completely. Did that additionally as well

re: 0001-Cpp-cleanliness-redundant-assignment-to-sel.libs-gui.patch,
this is a good one, clear bug since 2001. A very good catch. For it to
have remained undiscovered this code must never be called. I'll see if
we can remove it entirely.

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.