More Codacy
This commit is contained in:
parent
7625e02d21
commit
0fcf0afc39
|
@ -184,13 +184,12 @@ increase(int *number)
|
|||
START_TEST (test_linkedlist_each)
|
||||
{
|
||||
LinkedList *list;
|
||||
int *append;
|
||||
int i;
|
||||
|
||||
list = linkedlist_create();
|
||||
|
||||
for (i = 0; i < 10; ++i) {
|
||||
append = malloc(sizeof(int));
|
||||
int *append = malloc(sizeof(int));
|
||||
*append = i;
|
||||
linkedlist_append(&list, append);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue