Date: prev next · Thread: first prev next last
2010 Archives by date, by thread · List index


On Mon, 2010-11-29 at 16:56 +0000, Wols Lists wrote:
That's all of base scanned. Unless I've missed something (and I've
deliberately skipped a few bits, eg that marked with TODO), there
shouldn't be any dead code or end-of-if/end-of-switch type comments left

There's another, (in my opinion more interesting), class of dead-code
and that's the stuff that's compiled in but isn't called by anything.

I've yet to get in gear and get up-to-date runs for LibreOffice, but see
http://people.redhat.com/caolanm/callcatcher/DEV300_m87/ for my last OOo
callcatcher run. e.g. approx 170 apparently juicy unused methods in
calc.

Though caveats apply and manual double checking is required to see why
nothing calls them. They might be called only under some ifdefs, or by
some tricky means like dlopen/dlsym (which is only likely to happen for
C symbols and not C++ symbols, noone in their right mind dlsyms 

C.


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.