Move assignment after declarations

Bug: 447089