conn_pattern_from_string() dead initialization of 'type'
conn_pattern_from_string() initializes 'type', but that gets overwritten in all cases.
conn_pattern_from_string() initializes 'type', but that gets overwritten in all cases.