diff options
Diffstat (limited to 'tests/alltypes_pointer/decode_alltypes_pointer.c')
-rw-r--r-- | tests/alltypes_pointer/decode_alltypes_pointer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/alltypes_pointer/decode_alltypes_pointer.c b/tests/alltypes_pointer/decode_alltypes_pointer.c index 889676b..1e71901 100644 --- a/tests/alltypes_pointer/decode_alltypes_pointer.c +++ b/tests/alltypes_pointer/decode_alltypes_pointer.c @@ -19,6 +19,7 @@ bool check_alltypes(pb_istream_t *stream, int mode) /* Fill with garbage to better detect initialization errors */ memset(&alltypes, 0xAA, sizeof(alltypes)); + alltypes.extensions = 0; if (!pb_decode(stream, AllTypes_fields, &alltypes)) return false; |