Fixed #4747 (Can not find uninitialized variable (variable used in rhs in assignment))