From 7b84d0fcd2d6eeb9ae1da836c115213c4197acd1 Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Wed, 2 May 2012 11:07:29 +0200 Subject: Fix typo Change-Id: I3b01defa109b87c5c7f4c5b4e44e846de7d7ddf1 --- unusedcode.README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unusedcode.README b/unusedcode.README index c721d6237327..7b867dfa8661 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. -- cgit v1.2.3