Am 01.02.2017 um 23:04 schrieb openldap-its@OpenLDAP.org:
If you need to provide additional information in regards to your issue report, you may do so by replying to this message.
the patch I provided 20170201 remove variables that are unused as long as "configure --disable-rewrite" was given. Now I enabled rewrite and build fail :-/
server/slapd/syncrepl.c define variables named 'bv2' that are used if rewrite is enabled and unused otherwise.
Maybe the definition of 'REWRITE_DN' ( server/slapd/syncrepl.c, ~line 1726 ) could declare bv2 as unused to avoid a compiler warning.
uploaded a new version: ftp://ftp.openldap.org/incoming/andreas-schulze-its8578-20170319.patch
Andreas