diff options
Diffstat (limited to 'upb_msg.c')
-rw-r--r-- | upb_msg.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -31,8 +31,9 @@ static int compare_fields(const void *e1, const void *e2) { bool upb_msg_init(struct upb_msg *m, struct google_protobuf_DescriptorProto *d) { - /* TODO: more complete validation. */ - if(!d->set_flags.has.field) return false; + /* TODO: more complete validation. + * TODO: re-enable this check when we properly set this flag. */ + //if(!d->set_flags.has.field) return false; upb_inttable_init(&m->fields_by_num, d->field->len, sizeof(struct upb_fieldsbynum_entry)); |