init nRotation [-Werror=maybe-uninitialized]

Change-Id: Ia48c8e3ef9dfb1f1f881845813ada518231352f2
(cherry picked from commit 44397a6f36ae6db697899c4595afe617e5fbe8ca)