Remove never-executed code