From 1ed64db8c237ddcabfce57e289504befda034d5a Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Wed, 30 Oct 2019 07:21:52 -0700 Subject: [PATCH] Fixed compiler error "error: control reaches end of non-void function". --- upb/decode.c | 1 + 1 file changed, 1 insertion(+) diff --git a/upb/decode.c b/upb/decode.c index 88d4bb4fb6..4f07988595 100644 --- a/upb/decode.c +++ b/upb/decode.c @@ -573,6 +573,7 @@ static bool upb_decode_field(upb_decstate *d, upb_decframe *frame) { CHK(upb_append_unknown(d, frame)); return true; } + UPB_UNREACHABLE(); } static bool upb_decode_message(upb_decstate *d, char *msg, const upb_msglayout *l) {