The connection parameter is only unused if assertions are turned off. (Found by -Wused-but-marked-unused)