set unused attribute for unused variables

Summary: Fixes build with clang and Werror

Test Plan: verified

Reviewers: randall.rushing, synergy

Reviewed By: synergy

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