Remove uneccesary assignment from union