Remove dead_code warning