[Libreoffice] [Libreoffice-commits] .: vcl/android "WaE: unused parameter 'nType'"
Michael Meeks
michael.meeks at suse.com
Wed Jan 25 01:55:07 PST 2012
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 at suse.com <><, Pseudo Engineer, itinerant idiot
More information about the LibreOffice
mailing list