From 509f1e474fabd3961a4c83165ab8b9d02b508042 Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Mon, 26 Aug 2019 14:22:39 -0700 Subject: Bugfix for boolean defaults. --- upb/def.c | 1 + 1 file changed, 1 insertion(+) (limited to 'upb/def.c') diff --git a/upb/def.c b/upb/def.c index 005c012..98aead6 100644 --- a/upb/def.c +++ b/upb/def.c @@ -1029,6 +1029,7 @@ static bool parse_default(const symtab_addctx *ctx, const char *str, size_t len, } else { return false; } + break; } case UPB_TYPE_STRING: f->defaultval.str = newstr(ctx->alloc, str, len); -- cgit v1.2.3