@@ -188,7 +188,7 @@ pack_parse(VALUE self, VALUE version_symbol, VALUE variant_symbol, VALUE format_
188
188
const char * directive_start = format ;
189
189
190
190
yp_pack_result parse_result = yp_pack_parse (variant , & format , format_end , & type , & signed_type , & endian ,
191
- & size , & length_type , & length , & encoding );
191
+ & size , & length_type , & length , & encoding );
192
192
193
193
const char * directive_end = format ;
194
194
@@ -214,14 +214,14 @@ pack_parse(VALUE self, VALUE version_symbol, VALUE variant_symbol, VALUE format_
214
214
}
215
215
216
216
VALUE directive_args [9 ] = { version_symbol ,
217
- variant_symbol ,
218
- rb_usascii_str_new (directive_start , directive_end - directive_start ),
219
- pack_type_to_symbol (type ),
220
- pack_signed_to_symbol (signed_type ),
221
- pack_endian_to_symbol (endian ),
222
- pack_size_to_symbol (size ),
223
- pack_length_type_to_symbol (length_type ),
224
- (long ) LONG2NUM (length ) };
217
+ variant_symbol ,
218
+ rb_usascii_str_new (directive_start , directive_end - directive_start ),
219
+ pack_type_to_symbol (type ),
220
+ pack_signed_to_symbol (signed_type ),
221
+ pack_endian_to_symbol (endian ),
222
+ pack_size_to_symbol (size ),
223
+ pack_length_type_to_symbol (length_type ),
224
+ (long ) LONG2NUM (length ) };
225
225
226
226
rb_ary_push (directives_array , rb_class_new_instance (9 , directive_args , rb_cYARPPackDirective ));
227
227
}
0 commit comments