[sldev] Re: dead code

Kelly Washington kelly at lindenlab.com
Wed Jun 6 14:20:01 PDT 2007


Ben Byer wrote:
> Okay.  I rebuilt the list, but this time I used -O0.  I've made an
> effort to remove all obvious library functions, as well as
> constructors and destructors; some may remain, but this list should be
> more helpful:
>
A great many of these are used in the simulator code.  You probably want
to restrict your culling to the files specifically in newview.   A few
more comments below.

> LLLinkedList*
> LLMap*
> LLDoubleLinkedList*

Ew. These are our own template container classes.  It looks like your
method found specific functions that weren't used in specific lists. 
Ideally code that uses these should be converted to some appropriate
std:: container.  You probably don't want to start trimming
LLDoubleLinkedList based on which functions aren't used by specific
instances of it.
> LLFolderBridge::createNew*
Be careful with these.  The inventory Bridge classes and functions are
.... complex.

 - Kelly


More information about the SLDev mailing list