Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/papers/general/evaluation/c-stack.c

    rfb2ce27 r604e76d  
    1313        for ( struct stack_node* next = t->head; next; next = next->next ) {
    1414                *crnt = malloc(sizeof(struct stack_node)); /***/
    15                 (*crnt)->value = copy(next->value);
     15                **crnt = (struct stack_node){ copy(next->value) }; /***/
    1616                crnt = &(*crnt)->next;
    1717        }
    18         *crnt = NULL;
     18        *crnt = 0;
    1919}
    2020
Note: See TracChangeset for help on using the changeset viewer.