unusedcode.README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 7b84d0fcd2d6eeb9ae1da836c115213c4197acd1 Author: Julien Nabet <[email protected]> Date: Wed May 2 11:07:29 2012 +0200 Fix typo Change-Id: I3b01defa109b87c5c7f4c5b4e44e846de7d7ddf1 diff --git a/unusedcode.README b/unusedcode.README index c721d62..7b867df 100644 --- a/unusedcode.README +++ b/unusedcode.README @@ -26,7 +26,7 @@ d) gcc will only emit code for inlines if those inlines are used, so compile time after an attempt at removal. i.e. generally the inline method can go as well because nothing calls it either, a double win. e) if a constructor is listed as unused, and it's the *only* ctor in the class, - then no object of that class can be construsted, so the whole thing is + then no object of that class can be constructed, so the whole thing is unused, which can lead to a whole cascade of tricky but logical fallout. f) if a destructor is listed as unused, and a constructor isn't, then there's a leak somewhere, and the destructor most likely *should* be called. _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
