Fixes unread assignment warning