writerfilter: fix some -Werror=unused in previous patch

Change-Id: Iba7db7f9375807e97a4cdddc0c873fa3c9f6cfb6