src/util/yp_state_stack.c in yarp-0.7.0 vs src/util/yp_state_stack.c in yarp-0.8.0
- old
+ new
@@ -1,12 +1,6 @@
#include "yarp/util/yp_state_stack.h"
-// Initializes the state stack to an empty stack.
-void
-yp_state_stack_init(yp_state_stack_t *stack) {
- *stack = 0;
-}
-
// Pushes a value onto the stack.
void
yp_state_stack_push(yp_state_stack_t *stack, bool value) {
*stack = (*stack << 1) | (value & 1);
}