MB-7629 Fix warning on implicit cast

src/views/reductions.c: In function 'decode_view_btree_reductions':
src/views/reductions.c:48:8: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]

Change-Id: Ia52e7dd666e7ccfa6b2414c1ad68182ee4568360
Reviewed-on: http://review.couchbase.org/25599
Reviewed-by: Volker Mische <volker.mische@gmail.com>
Reviewed-by: Fulu Li <fulu@couchbase.com>
Tested-by: Filipe David Borba Manana <fdmanana@gmail.com>
MB-7629 Remove unused function

src/views/reductions.c: At top level:
src/views/reductions.c:255:13: warning: 'enc_uint48' defined but not used [-Wunused-function]

Change-Id: I0d6d171bcf3c80896ae3f8539169e82a4422e1c8
Reviewed-on: http://review.couchbase.org/25600
Reviewed-by: Volker Mische <volker.mische@gmail.com>
Reviewed-by: Fulu Li <fulu@couchbase.com>
Tested-by: Filipe David Borba Manana <fdmanana@gmail.com>
MB-7629 Remove unused variable

Change-Id: Idedec34ecb4b968b6378c5fd16d53e63dca6c07c
Reviewed-on: http://review.couchbase.org/25601
Reviewed-by: Volker Mische <volker.mische@gmail.com>
Reviewed-by: Fulu Li <fulu@couchbase.com>
Tested-by: Filipe David Borba Manana <fdmanana@gmail.com>
MB-7656 Fix warning about possibly uninitialized var

Change-Id: Id4849e5f0067a6471469a5d2dfd55eecfe8d1605
Reviewed-on: http://review.couchbase.org/25602
Reviewed-by: Volker Mische <volker.mische@gmail.com>
Reviewed-by: Fulu Li <fulu@couchbase.com>
Tested-by: Filipe David Borba Manana <fdmanana@gmail.com>