Added missing return statement

Change-Id: Ia7f65ec1fb58b2a067a8c7db3570c434597aef99
Reviewed-on: http://review.couchbase.org/30658
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>