Simplify readType function

gcc 12 warns about a maybe uninitialized result variable. This simplification does away with that warning and leads to much better code generation (a single mov instead of a copy loop).

Merge request reports

Loading