Fix a warning about ‘r_type’ may be used uninitialized.

Thanks to Aaron Ballman for noticing this!