WaE: ‘nPos’ may be used uninitialized in this function

Change-Id: I993492fa3c3355eeb8d57b4262e176bc2f439f7e