Remove unused variable in log_state_transition
Remove unused variable in log_state_transition

The function returns the last message,
where the result is not required.

Shopify/semian,Shopify/semian,Shopify/semian