summaryrefslogtreecommitdiff
path: root/upb/def.c
diff options
context:
space:
mode:
authorJosh Haberman <haberman@google.com>2013-05-25 10:26:59 -0700
committerJosh Haberman <haberman@google.com>2013-05-25 10:26:59 -0700
commit90bb4246c34580eb6c8a5a41a4e19fcd5f334f09 (patch)
treec0a5fedd4633dcaf1e975adc2edb34332a5dd686 /upb/def.c
parentcfdb9907cb87d15eaab72ceefbfa42fd7a4c3127 (diff)
Synced with Google-internal development.
C++ handlers are now type-safe; SinkFrame is gone. Various other changes.
Diffstat (limited to 'upb/def.c')
-rw-r--r--upb/def.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/upb/def.c b/upb/def.c
index aad0e51..b8d3259 100644
--- a/upb/def.c
+++ b/upb/def.c
@@ -676,6 +676,7 @@ upb_descriptortype_t upb_fielddef_descriptortype(const upb_fielddef *f) {
return upb_fielddef_istagdelim(f) ?
UPB_DESCRIPTOR_TYPE_GROUP : UPB_DESCRIPTOR_TYPE_MESSAGE;
}
+ return 0;
}
bool upb_fielddef_setlabel(upb_fielddef *f, upb_label_t label) {
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback