On 01/20/2012 09:57 PM, Michael Stahl wrote:
i'm not sure this is right; if a destructor of a class is unused, but
its other methods are used, then that usually indicates a memory leak:
the destructor is never called because all instances are leaked.

It might make sense to treat destructors specially in callcatcher, as they indicate "resource leak" (unless all the constructors of a given class are also unused) rather than "unused code."

Stephan
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to