diff options
Diffstat (limited to 'stack2.c')
| -rw-r--r-- | stack2.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -64,7 +64,7 @@ stack_pop(struct stack *stack, T *data) | |||
| 64 | if ( stack->p != 0 ) { | 64 | if ( stack->p != 0 ) { |
| 65 | --stack->p; | 65 | --stack->p; |
| 66 | 66 | ||
| 67 | if ( data != NULL ) { | 67 | if ( data ) { |
| 68 | *data = stack->array[stack->p]; | 68 | *data = stack->array[stack->p]; |
| 69 | } | 69 | } |
| 70 | return true; | 70 | return true; |
