diff options
Diffstat (limited to 'upb')
-rw-r--r-- | upb/bindings/lua/upb.c | 5 | ||||
-rw-r--r-- | upb/bindings/lua/upb/pb.c (renamed from upb/bindings/lua/upb.pb.c) | 0 |
2 files changed, 3 insertions, 2 deletions
diff --git a/upb/bindings/lua/upb.c b/upb/bindings/lua/upb.c index f938b26..f257430 100644 --- a/upb/bindings/lua/upb.c +++ b/upb/bindings/lua/upb.c @@ -1323,9 +1323,10 @@ static size_t lupb_sizeof(lua_State *L, const upb_fielddef *f) { case UPB_TYPE_STRING: case UPB_TYPE_BYTES: case UPB_TYPE_MESSAGE: - lupb_assert(L, false); - return 0; + break; } + lupb_assert(L, false); + return 0; } static int div_round_up(size_t n, size_t d) { diff --git a/upb/bindings/lua/upb.pb.c b/upb/bindings/lua/upb/pb.c index c9f1f47..c9f1f47 100644 --- a/upb/bindings/lua/upb.pb.c +++ b/upb/bindings/lua/upb/pb.c |