Fix two unused variable warnings

Change-Id: Ib970d8300ba289455fcbc6843001c8ec6844e009
Reviewed-on: http://gerrit.ent.cloudera.com:8080/2340
Reviewed-by: Alex Behm <alex.behm@cloudera.com>
Tested-by: jenkins