ext/attribute_builder/attribute_builder.c in faml-0.6.1 vs ext/attribute_builder/attribute_builder.c in faml-0.6.2
- old
+ new
@@ -81,10 +81,9 @@
{
if (RTEST(value)) {
struct normalize_data_i2_arg *arg = (struct normalize_data_i2_arg *)ptr;
VALUE k = rb_str_dup(arg->key);
- k = rb_str_dup(arg->key);
rb_str_cat(k, "-", 1);
rb_str_append(k, key);
rb_hash_aset(arg->normalized, k, value);
}
return ST_CONTINUE;