Remove warning "locally defined but not used"