On Wed, 2012-01-25 at 08:43 +0100, Stephan Bergmann wrote:
Just a reminder that in C++, the preferred way to silence warnings about
legitimately unused parameters (like in this case of a virtual function
override) is to just remove the parameter name from the function definition,
Sure - but in this case I'm going to add back some uses of nType in a
few minutes so ... ;-) it's easier to have to delete a line than re-type
nType [sic] ;-)
Of course, C-style commenting out the variable can have the same
effect, but often looks like more hassle to me :-)
ATB,
Michael.
--
michael.meeks@suse.com <><, Pseudo Engineer, itinerant idiot
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.