summaryrefslogtreecommitdiff
path: root/upb/decode.c
diff options
context:
space:
mode:
Diffstat (limited to 'upb/decode.c')
-rw-r--r--upb/decode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/upb/decode.c b/upb/decode.c
index 3c76e0f..3e782d7 100644
--- a/upb/decode.c
+++ b/upb/decode.c
@@ -97,7 +97,7 @@ static bool upb_decode_32bit(const char **ptr, const char *limit,
static bool upb_decode_tag(const char **ptr, const char *limit,
int *field_number, int *wire_type) {
- uint32_t tag;
+ uint32_t tag = 0;
CHK(upb_decode_varint32(ptr, limit, &tag));
*field_number = tag >> 3;
*wire_type = tag & 7;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback