Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2053f2132d |
@@ -51,7 +51,6 @@ int list_size(struct node **list)
|
|||||||
struct node *tmp = *list;
|
struct node *tmp = *list;
|
||||||
|
|
||||||
while (tmp != NULL || tmp->next != NULL) {
|
while (tmp != NULL || tmp->next != NULL) {
|
||||||
in_tmp = tmp;
|
|
||||||
tmp = tmp->next;
|
tmp = tmp->next;
|
||||||
|
|
||||||
++count;
|
++count;
|
||||||
|
|||||||
Reference in New Issue
Block a user