suppress gcc warnings
g/c a write-only variable.
adapt assertions to this branch
fix a merge botch
g/c a write-only variable