X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gprof%2Fsearch_list.c;h=d475dbf6a483e72bd30c5306ea9b0b4429c24a7a;hb=b19865132f9d8c15de82acdb5b3c89951da2eba7;hp=e49cc8a6c015a4792e7cde74ae398febde93fcbf;hpb=12516a373c27abe4516c2a3c84cfe9d94f02e18f;p=deliverable%2Fbinutils-gdb.git diff --git a/gprof/search_list.c b/gprof/search_list.c index e49cc8a6c0..d475dbf6a4 100644 --- a/gprof/search_list.c +++ b/gprof/search_list.c @@ -23,7 +23,7 @@ DEFUN (search_list_append, (list, paths), else { len = strlen (beg); - } /* if */ + } new_el = (Search_List_Elem *) xmalloc (sizeof (*new_el) + len); memcpy (new_el->path, beg, len); new_el->path[len] = '\0'; @@ -37,10 +37,8 @@ DEFUN (search_list_append, (list, paths), else { list->head = new_el; - } /* if */ + } list->tail = new_el; } while (colon); -} /* search_list_append */ - -/*** end of search_list.c ***/ +}