Avoid "instantiation of variable 'reg_info' required..." warning.