aboutsummaryrefslogtreecommitdiffstats
path: root/tests/basic_stream/decode_stream.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/basic_stream/decode_stream.c')
-rw-r--r--tests/basic_stream/decode_stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/basic_stream/decode_stream.c b/tests/basic_stream/decode_stream.c
index 667bf3c5..798dcc50 100644
--- a/tests/basic_stream/decode_stream.c
+++ b/tests/basic_stream/decode_stream.c
@@ -12,7 +12,7 @@
bool print_person(pb_istream_t *stream)
{
int i;
- Person person;
+ Person person = Person_init_zero;
if (!pb_decode(stream, Person_fields, &person))
return false;