Skip to content

Commit 9207150

Browse files
committed
fix travis-ci Lua5.1 warning :-(
1 parent 76eec5f commit 9207150

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pb.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ PB_API size_t pb_readbytes(pb_Slice *s, pb_Slice *pv) {
506506

507507
PB_API size_t pb_readgroup(pb_Slice *s, uint32_t tag, pb_Slice *pv) {
508508
const char *p = s->p;
509-
uint32_t newtag;
509+
uint32_t newtag = 0;
510510
size_t count;
511511
assert(pb_gettype(tag) == PB_TGSTART);
512512
while ((count = pb_readvarint32(s, &newtag)) != 0) {

0 commit comments

Comments
 (0)