Remove warning about bfs