remove pointless assert (since condition is if-tested just before it was used)