From b9131f0aabb6df6c9db410bcebb9f1d651d8e31e Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Wed, 21 Aug 2019 18:05:20 -0700 Subject: [PATCH] Removed commented-out code. --- ruby/ext/google/protobuf_c/storage.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/ruby/ext/google/protobuf_c/storage.c b/ruby/ext/google/protobuf_c/storage.c index 6922cdc456..8705bc9587 100644 --- a/ruby/ext/google/protobuf_c/storage.c +++ b/ruby/ext/google/protobuf_c/storage.c @@ -956,15 +956,6 @@ void layout_init(MessageLayout* layout, void* storage) { for (i = 0; i < layout->map_count; i++, value++) { *value = Map_new_this_type(*value); } - - /* - upb_msg_field_iter it; - for (upb_msg_field_begin(&it, layout->msgdef); - !upb_msg_field_done(&it); - upb_msg_field_next(&it)) { - layout_clear(layout, storage, upb_msg_iter_field(&it)); - } - */ } void layout_mark(MessageLayout* layout, void* storage) {