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