From 6dc858c9f1713fc7409e57a9d8a65f1118d5f3ac Mon Sep 17 00:00:00 2001 From: ssp97 Date: Mon, 2 Dec 2024 10:58:24 +0800 Subject: [PATCH] fix "error: label at end of compound statement" with gcc8 --- src/protobuf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/protobuf.c b/src/protobuf.c index 3b01b40..b31bcea 100644 --- a/src/protobuf.c +++ b/src/protobuf.c @@ -182,7 +182,8 @@ bool bytelizer_get_pbstruct(bytelizer_ctx_t* ctx, bytelizer_pbfield_t* pbroot) { break; } - default: + default: + break; } ++pbroot;