Skip to content

Commit

Permalink
Update diagnostics for GCC warning
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 486274318
  • Loading branch information
protobuf-github-bot authored and copybara-github committed Nov 5, 2022
1 parent 7366156 commit f345caf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion upb/mini_table/accessors.c
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ upb_GetExtensionAsBytes_Status upb_MiniTable_GetExtensionAsBytes(
}
const char* data = result.ptr;
uint32_t tag;
uint64_t message_len;
uint64_t message_len = 0;
data = decode_tag(data, &tag);
data = decode_varint64(data, &message_len);
*extension_data = data;
Expand Down

0 comments on commit f345caf

Please sign in to comment.