Remove csync_s::replica
authorJocelyn Turcotte <jturcotte@woboq.com>
Mon, 4 Sep 2017 13:09:09 +0000 (15:09 +0200)
committerJocelyn Turcotte <jturcotte@woboq.com>
Wed, 6 Sep 2017 11:08:23 +0000 (13:08 +0200)
commitf6136dd036a2b48e1cc16455876aa787112685cd
tree4e6b598d59624ee77675ff782277b0079b453b02
parentcb49635231f115be6bb581131445e6bcdb773a10
Remove csync_s::replica

The only difference with csync_s::current is that it's
assigned the value of csync_s::local::type and
csync_s::remote::type, which never change. So might as
well only use the "current" field with constants.
src/csync/csync.cpp
src/csync/csync_private.h
src/csync/csync_update.cpp
src/csync/vio/csync_vio.cpp
test/csync/vio_tests/check_vio.cpp
test/csync/vio_tests/check_vio_ext.cpp