Remove csync_s::replica
authorJocelyn Turcotte <jturcotte@woboq.com>
Mon, 4 Sep 2017 13:09:09 +0000 (15:09 +0200)
committerRoeland Jago Douma <roeland@famdouma.nl>
Thu, 5 Oct 2017 20:01:04 +0000 (22:01 +0200)
commit4947dc22ab71e49980d2a78f7957ef95980a0edb
tree0ad1986a94841368b267490447733cb44b5bb2f0
parent157e933ae54222f3abd5fd3553f93d9397255053
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