Coverity issue 13091
Bug Description: Local var array "mychange" can go out of scope
Fix Description: Declare "mychange" at the top of the function so it does not go out of scope.
Reviewed by: nkinder(Thanks!)
(cherry picked from commit d58ae20b75ccae99b2122a4a0d4fcf773a51115a)