warnings: fix 'unused variable'

Change-Id: Idfefc819216934a41371f29a20a9d4a100bd553c