Remove stray semicolons 

Fix compiler warning (#1777)