# HG changeset patch # User Matti Hamalainen # Date 1456383221 -7200 # Node ID a001708551d0baa162f76dbcf81b07becc8dd4ed # Parent 75b5e4c37e3aa8b1d855960f0d27c21556d5d886 Cosmetics. diff -r 75b5e4c37e3a -r a001708551d0 th_datastruct.c --- a/th_datastruct.c Wed Feb 24 11:35:29 2016 +0200 +++ b/th_datastruct.c Thu Feb 25 08:53:41 2016 +0200 @@ -235,10 +235,7 @@ size_t th_llist_length(const th_llist_t *list) { - if (list == NULL) - return 0; - else - return list->num; + return (list == NULL) ? 0 : list->num; } @@ -586,5 +583,3 @@ return TRUE; } - -