writerfilter: Value stored to 'nPos' is never read

Change-Id: Ic5b871e0e71b72b4aacc678200c26939a0065063