Remove unused variable to avoid compilation warning

Change-Id: Iebf1621e2a31a175e3c670f28fba815e09899bd7
Reviewed-on: http://review.couchbase.org/43963
Reviewed-by: Sriram Ganesan <sriram@couchbase.com>
Tested-by: abhinav dangeti <abhinav@couchbase.com>