Bug 1034184: Remove double assignment of 'type'; r=h4writer