ndtbl.cxx unused?

David Tardon dtardon at redhat.com
Tue Oct 23 02:52:32 PDT 2012


Hi,

On Tue, Oct 23, 2012 at 10:05:48AM +0200, Miklos Vajna wrote:
> Hi David,
> 
> On Tue, Oct 23, 2012 at 07:01:36AM +0200, David Tardon <dtardon at redhat.com> wrote:
> > If a source file really contained only unused functions, it would likely
> > have been found (and removed) with the help of callcatcher. Of course,
> > that would not help if the source were not compiled at all (and we found
> > such files on several occasions in the past)... I wonder if it would be
> > possible to construct a (more or less) complete list of used source tree
> > files from make dependencies; something that could be scripted and run
> > periodically to ensure we are not accumulating unused cruft...
> 
> Not so easy, I think -- all OSX/Win-specific files are unused in a Linux
> build, for example...

That is why I wrote "possible", not "easy" .-) Also, callcatcher has the
same problem and yet we use it.

D.


More information about the LibreOffice mailing list