Remove compiler warning about unused function

Change-Id: I574fe9ce58fe851758cef9447a0a3e744de35bbb
Reviewed-on: http://review.couchbase.org/43167
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Dave Rigby <daver@couchbase.com>