Skip to content
Snippets Groups Projects
Commit 50926f56 authored by rswindell's avatar rswindell
Browse files

strListCount() now uses COUNT_LIST_ITEMS macro.

parent 1b6b843f
No related branches found
No related tags found
No related merge requests found
......@@ -55,11 +55,7 @@ size_t strListCount(const str_list_t list)
{
size_t i;
if(list==NULL)
return(0);
for(i=0; list[i]!=NULL; i++)
;
COUNT_LIST_ITEMS(list,i);
return(i);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment