pike.git / src / stralloc.c

version» Context lines:

pike.git/src/stralloc.c:390:      /* Find a string in the shared string table.    * This assumes that the string is minimized!!!!    */   static struct pike_string *internal_findstring(const char *s,    ptrdiff_t len,    enum size_shift size_shift,    size_t hval)   {    struct pike_string *curr; - //,**prev, **base; +     unsigned int depth=0;    unsigned int prefix_depth=0;       size_t h;    h=HMODULO(hval);    for(curr = base_table[h]; curr; curr = curr->next)    {   #ifdef PIKE_DEBUG    if(curr->refs<1)    {