summaryrefslogtreecommitdiffstats
path: root/tests/basic_buffer/decode_buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/basic_buffer/decode_buffer.c')
-rw-r--r--tests/basic_buffer/decode_buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/basic_buffer/decode_buffer.c b/tests/basic_buffer/decode_buffer.c
index fae9e2fa..291d164c 100644
--- a/tests/basic_buffer/decode_buffer.c
+++ b/tests/basic_buffer/decode_buffer.c
@@ -16,7 +16,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;