set unused attribute for unused variables

Summary:
Fixes build with clang and Werror
Change-Id: I2b5fd9e70d2fd853693b9155cd15ec9abbb76685

Test Plan: verified

Reviewers: randall.rushing, synergy

Reviewed By: synergy

Differential Revision: http://review.codefirex.com/D128