tr_init: Fix compiler warning about else statement